Share via


NetworkEndpointSnapshot Constructors

Definition

Overloads

NetworkEndpointSnapshot(NetworkEndpointSnapshot)

Source:
EndpointAnnotation.cs
protected NetworkEndpointSnapshot(Aspire.Hosting.ApplicationModel.NetworkEndpointSnapshot original);
Protected Sub New (original As NetworkEndpointSnapshot)

Parameters

Applies to

NetworkEndpointSnapshot(ValueSnapshot<AllocatedEndpoint>, NetworkIdentifier)

Source:
EndpointAnnotation.cs

Represents an AllocatedEndpoint snapshot associated with a specific network.

public NetworkEndpointSnapshot(Aspire.Hosting.ApplicationModel.ValueSnapshot<Aspire.Hosting.ApplicationModel.AllocatedEndpoint> Snapshot, Aspire.Hosting.ApplicationModel.NetworkIdentifier NetworkID);
new Aspire.Hosting.ApplicationModel.NetworkEndpointSnapshot : Aspire.Hosting.ApplicationModel.ValueSnapshot<Aspire.Hosting.ApplicationModel.AllocatedEndpoint> * Aspire.Hosting.ApplicationModel.NetworkIdentifier -> Aspire.Hosting.ApplicationModel.NetworkEndpointSnapshot
Public Sub New (Snapshot As ValueSnapshot(Of AllocatedEndpoint), NetworkID As NetworkIdentifier)

Parameters

Snapshot
ValueSnapshot<AllocatedEndpoint>

AllocatedEndpoint snapshot

NetworkID
NetworkIdentifier

The ID of the network that is associated with the AllocatedEndpoint snapshot.

Applies to