Skip to content

Commit 134a731

Browse files
authored
Update code to match comment (dotnet#7938)
Co-authored-by: 3141592654 <>
1 parent d8ccdfb commit 134a731

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

xml/System.ServiceModel/BasicHttpBinding.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,8 +758,7 @@ The following example sets MaxReceivedMessageSize to 1,000,000 bytes.
758758
```csharp
759759
BasicHttpBinding binding = new BasicHttpBinding();
760760
761-
// Use double the default value
762-
binding.MaxReceivedMessageSize = 65536 * 2;
761+
binding.MaxReceivedMessageSize = 1000000;
763762
```
764763
765764
The value of this property can also be set in the configuration file.

0 commit comments

Comments
 (0)