HttpClientHandler.MaxAutomaticRedirections Propriedade

Definição

Obtém ou define o número máximo de redirecionamentos que o manipulador segue.

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

Valor de Propriedade

O número máximo de respostas de redirecionamento que o manipulador segue. O valor predefinido é 50.

Atributos

Observações

A MaxAutomaticRedirections propriedade define o número máximo de redirecionamentos para o pedido seguir se a AllowAutoRedirect propriedade for true.

Aplica-se a