HttpRuntimeSection.RequestLengthDiskThreshold 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 input-stream buffering threshold.
public:
property int RequestLengthDiskThreshold { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("requestLengthDiskThreshold", DefaultValue=80)]
[System.Configuration.IntegerValidator(MinValue=1)]
public int RequestLengthDiskThreshold { get; set; }
[<System.Configuration.ConfigurationProperty("requestLengthDiskThreshold", DefaultValue=80)>]
[<System.Configuration.IntegerValidator(MinValue=1)>]
member this.RequestLengthDiskThreshold : int with get, set
Public Property RequestLengthDiskThreshold As Integer
Property Value
The number of bytes that indicate the input-stream buffering threshold. The default is 80 kilobytes.
- Attributes
Exceptions
The selected value is greater than MaxRequestLength.
Examples
The following example shows how to use the RequestLengthDiskThreshold property.
// Get the RequestLengthDiskThreshold property value.
Response.Write("RequestLengthDiskThreshold: " +
configSection.RequestLengthDiskThreshold + "<br>");
// Set the RequestLengthDiskThreshold property value to 512 bytes.
configSection.RequestLengthDiskThreshold = 512;
' Get the RequestLengthDiskThreshold property value.
Response.Write("RequestLengthDiskThreshold: " & _
configSection.RequestLengthDiskThreshold & "<br>")
' Set the RequestLengthDiskThreshold property value to 512 bytes.
configSection.RequestLengthDiskThreshold = 512
Remarks
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.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기