HttpRetryStrategyOptions 类

定义

结果HttpResponseMessagePolly.Retry.RetryStrategyOptions`1 实现。

public ref class HttpRetryStrategyOptions : Polly::Retry::RetryStrategyOptions<System::Net::Http::HttpResponseMessage ^>
public class HttpRetryStrategyOptions : Polly.Retry.RetryStrategyOptions<System.Net.Http.HttpResponseMessage>
type HttpRetryStrategyOptions = class
    inherit RetryStrategyOptions<HttpResponseMessage>
Public Class HttpRetryStrategyOptions
Inherits RetryStrategyOptions(Of HttpResponseMessage)
继承
Polly.Retry.RetryStrategyOptions<HttpResponseMessage>
HttpRetryStrategyOptions

构造函数

HttpRetryStrategyOptions()

初始化 HttpRetryStrategyOptions 类的新实例。

属性

ShouldRetryAfterHeader

获取或设置一个值,该值指示是否对重试延迟使用 Retry-After 标头。

适用于