UriEndpointGroup.Endpoints 属性

定义

获取或设置此终结点组中的终结点。

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)

属性值

属性

注解

默认情况下,终结点使用空列表进行初始化。 客户端必须为每个终结点组定义终结点。 必须在每个终结点组上至少定义一个终结点才能执行对冲请求。

适用于