Share via


HttpClientHandler.MaxAutomaticRedirections Özellik

Tanım

İşleyicinin izlediği en fazla yeniden yönlendirme sayısını alır veya ayarlar.

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

Özellik Değeri

İşleyicinin izlediği en fazla yeniden yönlendirme yanıtı sayısı. Varsayılan değer 50’dir.

Öznitelikler

Açıklamalar

özelliği, MaxAutomaticRedirections özelliği trueise AllowAutoRedirect isteğin izleyebileceğiniz en fazla yeniden yönlendirme sayısını ayarlar.

Şunlara uygulanır