Partilhar via


EndpointReference.Property(EndpointProperty) Method

Definition

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.

Applies to