UriEndpointGroup.Endpoints Property

Definition

Gets or sets the endpoints in this endpoint group.

public:
 property System::Collections::Generic::IList<Microsoft::Extensions::Http::Resilience::WeightedUriEndpoint ^> ^ Endpoints { System::Collections::Generic::IList<Microsoft::Extensions::Http::Resilience::WeightedUriEndpoint ^> ^ get(); void set(System::Collections::Generic::IList<Microsoft::Extensions::Http::Resilience::WeightedUriEndpoint ^> ^ value); };
[Microsoft.Extensions.Options.ValidateEnumeratedItems]
public System.Collections.Generic.IList<Microsoft.Extensions.Http.Resilience.WeightedUriEndpoint> Endpoints { get; set; }
[Microsoft.Extensions.Options.ValidateEnumeratedItems]
[System.ComponentModel.DataAnnotations.Length(1, 2147483647)]
public System.Collections.Generic.IList<Microsoft.Extensions.Http.Resilience.WeightedUriEndpoint> Endpoints { get; set; }
[<Microsoft.Extensions.Options.ValidateEnumeratedItems>]
member this.Endpoints : System.Collections.Generic.IList<Microsoft.Extensions.Http.Resilience.WeightedUriEndpoint> with get, set
[<Microsoft.Extensions.Options.ValidateEnumeratedItems>]
[<System.ComponentModel.DataAnnotations.Length(1, 2147483647)>]
member this.Endpoints : System.Collections.Generic.IList<Microsoft.Extensions.Http.Resilience.WeightedUriEndpoint> with get, set
Public Property Endpoints As IList(Of WeightedUriEndpoint)

Property Value

Attributes

Remarks

By default the endpoints are initialized with an empty list. The client must define the endpoint for each endpoint group. At least one endpoint must be defined on each endpoint group in order to performed hedged requests.

Applies to