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