HttpWebRequestElement.MaximumErrorResponseLength 屬性

定義

取得或設定錯誤回應的最大允許長度。

public:
 property int MaximumErrorResponseLength { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maximumErrorResponseLength", DefaultValue=64)]
public int MaximumErrorResponseLength { get; set; }
[<System.Configuration.ConfigurationProperty("maximumErrorResponseLength", DefaultValue=64)>]
member this.MaximumErrorResponseLength : int with get, set
Public Property MaximumErrorResponseLength As Integer

屬性值

32 位元帶正負號的整數,包含錯誤回應的最大長度,以 KB (1024 個位元組) 為單位。 預設值為 64。

屬性

適用於