你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HttpRetryOptions.StatusCodesToRetry Property

Definition

Gets or sets the list of status codes upon which the retry logic specified by this object shall be triggered. If none are provided, all 4xx and 5xx status codes will be retried.

public System.Collections.Generic.IList<System.Net.HttpStatusCode> StatusCodesToRetry { get; set; }
member this.StatusCodesToRetry : System.Collections.Generic.IList<System.Net.HttpStatusCode> with get, set
Public Property StatusCodesToRetry As IList(Of HttpStatusCode)

Property Value

Applies to