HttpStandardResilienceOptions.AttemptTimeout 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 pipeline applied per each request attempt.
public:
property Microsoft::Extensions::Http::Resilience::HttpTimeoutStrategyOptions ^ AttemptTimeout { 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 AttemptTimeout { get; set; }
[<Microsoft.Extensions.Options.ValidateObjectMembers>]
[<System.ComponentModel.DataAnnotations.Required>]
member this.AttemptTimeout : Microsoft.Extensions.Http.Resilience.HttpTimeoutStrategyOptions with get, set
Public Property AttemptTimeout As HttpTimeoutStrategyOptions
Property Value
- Attributes
Remarks
By default, this property is initialized with a unique instance of HttpTimeoutStrategyOptions using custom Polly.Timeout.TimeoutStrategyOptions.Timeout of 10 seconds.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.