Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpWebRequest::DefaultMaximumErrorResponseLength Property

 

Gets or sets the default maximum length of an HTTP error response.

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

public:
property int DefaultMaximumErrorResponseLength {
	static int get();
	static void set(int value);
}

Property Value

Type: System::Int32

The default maximum length of an HTTP error response.

Exception Condition
ArgumentOutOfRangeException

The value is less than 0 and is not equal to -1.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft