英語で読む

次の方法で共有


HttpClientHandler.MaxAutomaticRedirections プロパティ

定義

ハンドラーがフォローするリダイレクトの最大数を取得または設定します。

public int MaxAutomaticRedirections { get; set; }
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public int MaxAutomaticRedirections { get; set; }

プロパティ値

ハンドラーがフォローするリダイレクト応答の最大数。 既定値は 50 です。

属性

注釈

プロパティはMaxAutomaticRedirections、 プロパティが の場合に従う要求のリダイレクトの最大数をAllowAutoRedirecttrue設定します。

適用対象