Lire en anglais Modifier

Partager via


WinHttpHandler.MaxAutomaticRedirections Property

Definition

Gets or sets the maximum number of allowed HTTP redirects.

C#
public int MaxAutomaticRedirections { get; set; }

Property Value

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

Produit Versions
.NET Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)