다음을 통해 공유


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

속성 값

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

특성

예외

예제

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

// Get the RequestLengthDiskThreshold property value.
Response.Write("RequestLengthDiskThreshold: " +
  configSection.RequestLengthDiskThreshold + "<br>");

// Set the RequestLengthDiskThreshold property value to 512 kilobytes.
configSection.RequestLengthDiskThreshold = 512;
' Get the RequestLengthDiskThreshold property value.
Response.Write("RequestLengthDiskThreshold: " & _
  configSection.RequestLengthDiskThreshold & "<br>")

' Set the RequestLengthDiskThreshold property value to 512 kilobytes.
configSection.RequestLengthDiskThreshold = 512

설명

이 속성은 RequestLengthDiskThreshold 입력 스트림 버퍼링 임계값 제한을 킬로바이트 수로 지정합니다. 해당 값은 속성 값을 초과 MaxRequestLength 하면 안 됩니다. 요청 엔터티가 이 임계값을 초과하면 디스크에 투명하게 버퍼링됩니다.

적용 대상