2 implementations of MaxReceivedMessageSize
System.ServiceModel (2)
System\ServiceModel\Channels\TransportChannelFactory.cs (1)
188long ITransportFactorySettings.MaxReceivedMessageSize
System\ServiceModel\Channels\TransportChannelListener.cs (1)
627long ITransportFactorySettings.MaxReceivedMessageSize
12 references to MaxReceivedMessageSize
System.ServiceModel (12)
System\ServiceModel\Channels\HttpChannelHelpers.cs (7)
137TD.MaxReceivedMessageSizeExceeded(SR.GetString(SR.MaxReceivedMessageSizeExceeded, settings.MaxReceivedMessageSize)); 142ThrowHttpProtocolException(SR.GetString(SR.MaxReceivedMessageSizeExceeded, settings.MaxReceivedMessageSize), HttpStatusCode.RequestEntityTooLarge); 146string message = SR.GetString(SR.MaxReceivedMessageSizeExceeded, settings.MaxReceivedMessageSize); 157if (ContentLength == -1 && buffer.Count == settings.MaxReceivedMessageSize) 225MaxMessageSizeStream maxMessageSizeStream = new MaxMessageSizeStream(inputStream, settings.MaxReceivedMessageSize); 461message.Content = new StreamContent(new MaxMessageSizeStream(this.GetInputStream(true), this.settings.MaxReceivedMessageSize)); 621if (count > settings.MaxReceivedMessageSize)
System\ServiceModel\Channels\PeerNodeImplementation.cs (3)
398factoryMaxReceivedMessageSize = (int)Math.Min(maxReceivedMessageSize, settings.MaxReceivedMessageSize); 1451match = match && (messageSize <= mfr.settings.MaxReceivedMessageSize); 1725this.maxReceivedMessageSize = factory.MaxReceivedMessageSize;
System\ServiceModel\Channels\SingletonConnectionReader.cs (1)
1233this.inputStream = new MaxMessageSizeStream(connectionStream, transportSettings.MaxReceivedMessageSize);
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
541this.maxReceivedMessageSize = webSocketTransportDuplexSessionChannel.TransportFactorySettings.MaxReceivedMessageSize;