HttpWebRequestElement.MaximumErrorResponseLength 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置错误响应允许的最大长度。
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。
- 属性