Skip to content

Commit e72390c

Browse files
Updated Documentation for RequestLengthDiskThreshold (#12084)
- Fixes #12083 As noted in the issue, the value that is specified here is a value in KB, however, the documentation contained mixed references to both kilobytes and bytes. I updated this to reflect properly kilobytes in all locations.
1 parent 118d0a6 commit e72390c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.HttpRuntimeSection/CS/httpruntimesection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ protected void Page_Load(object sender, EventArgs e)
112112
Response.Write("RequestLengthDiskThreshold: " +
113113
configSection.RequestLengthDiskThreshold + "<br>");
114114

115-
// Set the RequestLengthDiskThreshold property value to 512 bytes.
115+
// Set the RequestLengthDiskThreshold property value to 512 kilobytes.
116116
configSection.RequestLengthDiskThreshold = 512;
117117
// </Snippet12>
118118

snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.HttpRuntimeSection/VB/httpruntimesection.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Partial Class _Default
113113
Response.Write("RequestLengthDiskThreshold: " & _
114114
configSection.RequestLengthDiskThreshold & "<br>")
115115

116-
' Set the RequestLengthDiskThreshold property value to 512 bytes.
116+
' Set the RequestLengthDiskThreshold property value to 512 kilobytes.
117117
configSection.RequestLengthDiskThreshold = 512
118118
' </Snippet12>
119119

xml/System.Web.Configuration/HttpRuntimeSection.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,12 +1009,12 @@
10091009
</ReturnValue>
10101010
<Docs>
10111011
<summary>Gets or sets the input-stream buffering threshold.</summary>
1012-
<value>The number of bytes that indicate the input-stream buffering threshold. The default is 80 kilobytes.</value>
1012+
<value>The number of kilobytes that indicate the input-stream buffering threshold. The default is 80 kilobytes.</value>
10131013
<remarks>
10141014
<format type="text/markdown"><![CDATA[
10151015
10161016
## Remarks
1017-
The <xref:System.Web.Configuration.HttpRuntimeSection.RequestLengthDiskThreshold%2A> property specifies the input-stream buffering threshold limit in number of bytes. Its value should not exceed the <xref:System.Web.Configuration.HttpRuntimeSection.MaxRequestLength%2A> property value. After a request entity exceeds this threshold, it is buffered transparently onto disk.
1017+
The <xref:System.Web.Configuration.HttpRuntimeSection.RequestLengthDiskThreshold%2A> property specifies the input-stream buffering threshold limit in number of kilobytes. Its value should not exceed the <xref:System.Web.Configuration.HttpRuntimeSection.MaxRequestLength%2A> property value. After a request entity exceeds this threshold, it is buffered transparently onto disk.
10181018
10191019
10201020

0 commit comments

Comments
 (0)