SocketsHttpHandler.MaxAutomaticRedirections 屬性

定義

取得或設定允許的 HTTP 重新導向的數目上限。Gets or sets the maximum number of allowed HTTP redirects.

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 重新導向數目上限。The maximum number of allowed HTTP redirects.

適用於