NetworkEndpointSnapshot Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| NetworkEndpointSnapshot(NetworkEndpointSnapshot) | |
| NetworkEndpointSnapshot(ValueSnapshot<AllocatedEndpoint>, NetworkIdentifier) |
Represents an AllocatedEndpoint snapshot associated with a specific network. |
NetworkEndpointSnapshot(NetworkEndpointSnapshot)
- Source:
- EndpointAnnotation.cs
protected NetworkEndpointSnapshot(Aspire.Hosting.ApplicationModel.NetworkEndpointSnapshot original);
Protected Sub New (original As NetworkEndpointSnapshot)
Parameters
- original
- NetworkEndpointSnapshot
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.