HttpClientHandler.MaxAutomaticRedirections Tulajdonság

Definíció

Lekéri vagy beállítja a kezelő által követett átirányítások maximális számát.

public:
 property int MaxAutomaticRedirections { int get(); void set(int value); };
public int MaxAutomaticRedirections { get; set; }
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public int MaxAutomaticRedirections { get; set; }
member this.MaxAutomaticRedirections : int with get, set
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.MaxAutomaticRedirections : int with get, set
Public Property MaxAutomaticRedirections As Integer

Tulajdonság értéke

A kezelő által követett átirányítási válaszok maximális száma. Az alapértelmezett érték: 50.

Attribútumok

Megjegyzések

A MaxAutomaticRedirections tulajdonság beállítja a kérelem követendő átirányításainak maximális számát, ha a AllowAutoRedirect tulajdonság .true

A következőre érvényes: