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
.NET Framework (current version)
Gets or sets the default maximum length of an HTTP error response.
Assembly: System (in System.dll)
public: property int DefaultMaximumErrorResponseLength { static int get(); static void set(int value); }
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The value is less than 0 and is not equal to -1. |
.NET Framework
Available since 2.0
Available since 2.0
Show: