Export (0) Print
Expand All

HttpRuntimeSection.RequestLengthDiskThreshold Property

Gets or sets the input-stream buffering threshold.

Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)

public:
property int RequestLengthDiskThreshold {
	int get ();
	void set (int value);
}
/** @property */
public int get_RequestLengthDiskThreshold ()

/** @property */
public void set_RequestLengthDiskThreshold (int value)

public function get RequestLengthDiskThreshold () : int

public function set RequestLengthDiskThreshold (value : int)

Not applicable.

Property Value

The number of bytes that indicate the input-stream buffering threshold. The default is 256 bytes.

Exception typeCondition

ConfigurationErrorsException

The selected value is greater than MaxRequestLength.

The RequestLengthDiskThreshold property specifies the input-stream buffering threshold limit in number of bytes. Its value should not exceed the MaxRequestLength property value. After a request entity exceeds this threshold, it is buffered transparently onto disk.

The following example shows how to use the RequestLengthDiskThreshold property.

No code example is currently available or this language may not be supported.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft