EndpointReference 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
EndpointReference(IResourceWithEndpoints, EndpointAnnotation) |
Creates a new instance of EndpointReference with the specified endpoint name. |
EndpointReference(IResourceWithEndpoints, String) |
Creates a new instance of EndpointReference with the specified endpoint name. |
EndpointReference(IResourceWithEndpoints, EndpointAnnotation)
- Source:
- EndpointReference.cs
- Source:
- EndpointReference.cs
Creates a new instance of EndpointReference with the specified endpoint name.
public EndpointReference (Aspire.Hosting.ApplicationModel.IResourceWithEndpoints owner, Aspire.Hosting.ApplicationModel.EndpointAnnotation endpoint);
new Aspire.Hosting.ApplicationModel.EndpointReference : Aspire.Hosting.ApplicationModel.IResourceWithEndpoints * Aspire.Hosting.ApplicationModel.EndpointAnnotation -> Aspire.Hosting.ApplicationModel.EndpointReference
Public Sub New (owner As IResourceWithEndpoints, endpoint As EndpointAnnotation)
Parameters
- owner
- IResourceWithEndpoints
The resource with endpoints that owns the endpoint reference.
- endpoint
- EndpointAnnotation
The endpoint annotation.
Applies to
EndpointReference(IResourceWithEndpoints, String)
- Source:
- EndpointReference.cs
- Source:
- EndpointReference.cs
Creates a new instance of EndpointReference with the specified endpoint name.
public EndpointReference (Aspire.Hosting.ApplicationModel.IResourceWithEndpoints owner, string endpointName);
new Aspire.Hosting.ApplicationModel.EndpointReference : Aspire.Hosting.ApplicationModel.IResourceWithEndpoints * string -> Aspire.Hosting.ApplicationModel.EndpointReference
Public Sub New (owner As IResourceWithEndpoints, endpointName As String)
Parameters
- owner
- IResourceWithEndpoints
The resource with endpoints that owns the endpoint reference.
- endpointName
- String
The name of the endpoint.