HedgingEndpointOptions.Timeout Property
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 or sets the options for the timeout resilience strategy applied per each request attempt.
public:
property Microsoft::Extensions::Http::Resilience::HttpTimeoutStrategyOptions ^ Timeout { Microsoft::Extensions::Http::Resilience::HttpTimeoutStrategyOptions ^ get(); void set(Microsoft::Extensions::Http::Resilience::HttpTimeoutStrategyOptions ^ value); };
[Microsoft.Extensions.Options.ValidateObjectMembers]
[System.ComponentModel.DataAnnotations.Required]
public Microsoft.Extensions.Http.Resilience.HttpTimeoutStrategyOptions Timeout { get; set; }
[<Microsoft.Extensions.Options.ValidateObjectMembers>]
[<System.ComponentModel.DataAnnotations.Required>]
member this.Timeout : Microsoft.Extensions.Http.Resilience.HttpTimeoutStrategyOptions with get, set
Public Property Timeout As HttpTimeoutStrategyOptions
Property Value
- Attributes
Remarks
By default it is initialized with a unique instance of HttpTimeoutStrategyOptions using a custom Timeout of 10 seconds.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.