HttpRuntimeSection.RequestLengthDiskThreshold 속성

정의

입력 스트림 버퍼링 임계값을 가져오거나 설정합니다.

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

속성 값

Int32

입력 스트림 버퍼링 임계값을 나타내는 바이트 수입니다. 기본값은 80KB입니다.

특성

예외

선택한 값이 MaxRequestLength보다 큰 경우

예제

다음 예제에서는 RequestLengthDiskThreshold 속성을 사용하는 방법을 보여 줍니다.

// 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

설명

RequestLengthDiskThreshold 속성 (바이트)에서 입력 스트림 버퍼링 임계값 제한을 지정 합니다. 해당 값 초과 하지 않아야 합니다 MaxRequestLength 속성 값입니다. 요청 엔터티를이 임계값을 초과 하면 후 디스크에 투명 하 게 버퍼링 됩니다.

적용 대상