Freigeben über


HttpRuntimeSection.RequestLengthDiskThreshold Eigenschaft

Definition

Dient zum Abrufen oder Festlegen des Schwellenwerts für die Pufferung des Eingabedatenstroms.

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

Eigenschaftswert

Die Anzahl der Kilobytes, die den Schwellenwert für den Eingabedatenstrompuffer angeben. Der Standardwert ist 80 Kb.

Attribute

Ausnahmen

Der ausgewählte Wert ist größer als MaxRequestLength.

Beispiele

Das folgende Beispiel zeigt, wie die RequestLengthDiskThreshold Eigenschaft verwendet wird.

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

Hinweise

Die RequestLengthDiskThreshold Eigenschaft gibt den Schwellenwert für die Pufferung des Eingabedatenstroms in Kilobyte an. Der Wert darf den MaxRequestLength Eigenschaftswert nicht überschreiten. Nachdem eine Anforderungsentität diesen Schwellenwert überschreitet, wird sie transparent auf dem Datenträger gepuffert.

Gilt für: