SocketsHttpHandler.MaxAutomaticRedirections プロパティ

定義

許可される HTTP リダイレクトの最大数を取得または設定します。

public:
 property int MaxAutomaticRedirections { int get(); void set(int value); };
public int MaxAutomaticRedirections { get; set; }
member this.MaxAutomaticRedirections : int with get, set
Public Property MaxAutomaticRedirections As Integer

プロパティ値

許可される HTTP リダイレクトの最大数。

例外

指定された値が 0 以下です。

現在のインスタンスで操作が既に開始されています。

現在のインスタンスが破棄されました。

適用対象