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