Skip to content

Commit 009e629

Browse files
rschindhelmRon Petrusha
authored andcommitted
Update BasicHttpBinding.xml (#2055)
* Update BasicHttpBinding.xml * feedback
1 parent 09eff7d commit 009e629

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

xml/System.ServiceModel/BasicHttpBinding.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -646,10 +646,9 @@ Extensive allocation from the CLR garbage heap is an indication that the message
646646
647647
The value of the MaxBufferSize property and its significance is different depending on whether the messages are being buffered or streamed on the channel through which they are being received:
648648
649-
For buffered transports, (<xref:System.ServiceModel.BasicHttpBinding.TransferMode> set to <xref:System.ServiceModel.TransferMode.Buffered>).
650-
This value is always equal to that specified by the <xref:System.ServiceModel.BasicHttpBinding.MaxReceivedMessageSize>.
649+
- For buffered transports (<xref:System.ServiceModel.BasicHttpBinding.TransferMode> set to <xref:System.ServiceModel.TransferMode.Buffered?displayProperty=nameWithType>), this value is always equal to that specified by the <xref:System.ServiceModel.BasicHttpBinding.MaxReceivedMessageSize> property.
651650
652-
For streamed transports, (<xref:System.ServiceModel.BasicHttpBinding.TransferMode> set to <xref:System.ServiceModel.TransferMode.Streamed>), only the SOAP headers must be buffered to generate the message.
651+
- For streamed transports (<xref:System.ServiceModel.BasicHttpBinding.TransferMode> set to <xref:System.ServiceModel.TransferMode.Streamed?displayProperty=nameWithType>), only the SOAP headers must be buffered to generate the message.
653652
The body can be streamed in on-demand. In this case, MaxBufferSize is less than or equal to <xref:System.ServiceModel.BasicHttpBinding.MaxReceivedMessageSize>, where <xref:System.ServiceModel.BasicHttpBinding.MaxReceivedMessageSize> bounds the size of the overall message (headers and body) and MaxBufferSize bounds only the size of the SOAP headers.
654653
655654
The limitations on buffer size set here are for optimizing the performance of message exchanges.
@@ -1367,4 +1366,4 @@ The value of this property can also be set in the configuration file.
13671366
</Docs>
13681367
</Member>
13691368
</Members>
1370-
</Type>
1369+
</Type>

0 commit comments

Comments
 (0)