1 write to maxMessageSize
System.ServiceModel (1)
System\ServiceModel\Channels\MaxMessageSizeStream.cs (1)
20
this.
maxMessageSize
= maxMessageSize;
6 references to maxMessageSize
System.ServiceModel (6)
System\ServiceModel\Channels\MaxMessageSizeStream.cs (6)
95
if (totalBytesRead >=
maxMessageSize
)
97
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateMaxReceivedMessageSizeExceededException(
maxMessageSize
));
100
long bytesRemaining =
maxMessageSize
- totalBytesRead;
108
return Math.Min(bytesToRead, (int)(
maxMessageSize
- totalBytesRead));
120
if (bytesWritten + bytesToWrite >
maxMessageSize
)
122
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateMaxSentMessageSizeExceededException(
maxMessageSize
));