SocketsHttpHandler.MaxAutomaticRedirections Property

Definition

Gets or sets the maximum number of allowed HTTP redirects.

public:
 property int MaxAutomaticRedirections { int get(); void set(int value); };
public int MaxAutomaticRedirections { get; set; }
member this.MaxAutomaticRedirections : int with get, set
Public Property MaxAutomaticRedirections As Integer

Property Value

Int32

The maximum number of allowed HTTP redirects.

Applies to