Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

EndpointReference.Property

Method
📦 Aspire.Hosting v17.0.0
type EndpointReference interface {
// ... omitted for brevity
Property(property EndpointProperty) EndpointReferenceExpression
}

Signature

methodProperty
Gets the specified property expression of the endpoint.
Property(property EndpointProperty) EndpointReferenceExpression
propertyEndpointPropertyThe EndpointProperty enum value to use in the reference.
EndpointReferenceExpression

An EndpointReferenceExpression representing the specified EndpointProperty.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: