HttpWebRequestElement.MaximumErrorResponseLength Property

 

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

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

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

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: