HttpWebRequestElement.MaximumErrorResponseLength Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the maximum allowed length of an error response.
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
Property Value
A 32-bit signed integer containing the maximum length in kilobytes (1024 bytes) of the error response. The default value is 64.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.