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

属性值

一个包含错误响应的最大长度(1024 字节)的 32 位有符号整数。 默认值为 64。

属性

适用于