1 type derived from ProtocolException
System.ServiceModel.Primitives (1)
netstandard.cs (1)
908public partial class MessageHeaderException : System.ServiceModel.ProtocolException
13 instantiations of ProtocolException
System.ServiceModel.NetFramingBase (13)
System\ServiceModel\Channels\FramingChannels.cs (1)
464new ProtocolException(SR.Format(SR.ServerRejectedSessionPreamble, via),
System\ServiceModel\Channels\FramingDecoders.cs (7)
276return new ProtocolException(SR.Format(SR.FramingContentTypeMismatch, contentType, via)); 297return new ProtocolException(SR.Format(SR.FramingModeNotSupportedFault, via)); 301return new ProtocolException(SR.Format(SR.FramingVersionNotSupportedFault, via)); 319return new ProtocolException(SR.Format(SR.FramingUpgradeInvalid, via)); 323return new ProtocolException(SR.Format(SR.FramingFaultUnrecognized, faultString)); 426throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ProtocolException(exceptionString, inner)); 459return new ProtocolException(SR.Format(SR.FramingError, StreamPosition, CurrentStateAsString),
System\ServiceModel\Channels\SessionConnectionReader.cs (1)
283new ProtocolException(SR.MessageXmlProtocolError, xmlException));
System\ServiceModel\Channels\SingletonConnectionReader.cs (1)
194new ProtocolException(SR.Format(SR.MessageXmlProtocolError), xmlException));
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (3)
664return new ProtocolException(text); 669return new ProtocolException(text); 675return new ProtocolException(text);
8 references to ProtocolException
Client.ExpectedExceptions.IntegrationTests (2)
ExpectedExceptionTests.4.1.0.cs (2)
198ProtocolException exception = Assert.Throws<ProtocolException>(() =>
Contract.Message.IntegrationTests (1)
MessageContractTests.cs (1)
57Assert.Throws<ProtocolException>(() =>
Encoding.Encoders.IntegrationTests (1)
TextEncodingTests.4.1.0.cs (1)
31Assert.Throws<ProtocolException>(() => { serviceProxy.ReturnContentType(testContentType); });
Security.TransportSecurity.IntegrationTests (1)
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (1)
85Assert.Throws<System.ServiceModel.ProtocolException>(() => { result = serviceProxy.Echo(testString); });
System.ServiceModel (1)
netstandard.cs (1)
201[assembly: TypeForwardedTo(typeof(ProtocolException))]
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (2)
537ProtocolException error = ReceiveShutdownReturnedNonNull(message); 655internal static ProtocolException ReceiveShutdownReturnedNonNull(Message message)