WinHttpHandler.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.

Remarks

The default value for this property is 50. This value only applies if AutomaticRedirection is set to true.

Applies to