EndpointReference.Property(EndpointProperty) Method
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.
Gets the specified property expression of the endpoint. Defaults to the URL if no property is specified.
public Aspire.Hosting.ApplicationModel.EndpointReferenceExpression Property (Aspire.Hosting.ApplicationModel.EndpointProperty property);
member this.Property : Aspire.Hosting.ApplicationModel.EndpointProperty -> Aspire.Hosting.ApplicationModel.EndpointReferenceExpression
Public Function Property (property As EndpointProperty) As EndpointReferenceExpression
Parameters
- property
- EndpointProperty
The EndpointProperty enum value to use in the reference.
Returns
An EndpointReferenceExpression representing the specified EndpointProperty.