HttpWebRequest.DefaultMaximumErrorResponseLength 屬性
定義
取得或設定 HTTP 錯誤回應的預設最大長度。Gets or sets the default maximum length of an HTTP error response.
public:
static property int DefaultMaximumErrorResponseLength { int get(); void set(int value); };
public static int DefaultMaximumErrorResponseLength { get; set; }
member this.DefaultMaximumErrorResponseLength : int with get, set
Public Shared Property DefaultMaximumErrorResponseLength As Integer
屬性值
HTTP 錯誤回應的預設最大長度。The default maximum length of an HTTP error response.
例外狀況
值小於 0 且不等於 -1。The value is less than 0 and is not equal to -1.