Edit

Share via


HttpWebRequestElement.MaximumErrorResponseLength Property

Definition

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