HttpWebRequestElement::MaximumErrorResponseLength Property

 

Gets or sets the maximum allowed length of an error response.

Namespace:   System.Net.Configuration
Assembly:  System (in System.dll)

public:
[ConfigurationPropertyAttribute("maximumErrorResponseLength", 
	DefaultValue = 64)]
property int MaximumErrorResponseLength {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

A 32-bit signed integer containing the maximum length in kilobytes (1024 bytes) of the error response. The default value is 64.

.NET Framework
Available since 2.0
Return to top
Show: