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 da propriedade

Int32

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

Atributos

Comentários

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

Aplica-se a