Share via


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