18 references to ProtocolException
System.ServiceModel.Http (4)
System\ServiceModel\Channels\HttpResponseMessageHelper.cs (3)
196new ProtocolException(SR.MessageXmlProtocolError, xmlException)); 256new ProtocolException(SR.MessageXmlProtocolError, xmlException)); 295new ProtocolException(SR.MessageXmlProtocolError, xmlException));
System\ServiceModel\Channels\MessageContent.cs (1)
119new ProtocolException(SR.Format(SR.HttpContentTypeFormatException, formatException.Message, Headers.ContentType.ToString()), formatException));
System.ServiceModel.NetFramingBase (5)
System\ServiceModel\Channels\FramingChannels.cs (1)
464new ProtocolException(SR.Format(SR.ServerRejectedSessionPreamble, via),
System\ServiceModel\Channels\FramingDecoders.cs (2)
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.Primitives (9)
System\ServiceModel\Channels\ChannelReliableSession.cs (2)
318e = new ProtocolException(SRP.MessageExceptionOccurred, info.ParsingException); 744throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ProtocolException(SRP.UnparsableCSResponse, info.ParsingException));
System\ServiceModel\Channels\CreateSequence.cs (1)
164throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(WsrmMessageInfo.CreateInternalFaultException(faultReply, reason, new ProtocolException(reason, e)));
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
221throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ProtocolException(SRP.EncoderBadContentType, e));
System\ServiceModel\Channels\WsrmMessageInfo.cs (4)
543messageInfo._faultException = new ProtocolException(SRP.MessageExceptionOccurred, exception); 547messageInfo.ParsingException = new ProtocolException(SRP.MessageExceptionOccurred, exception); 555messageInfo.ParsingException = new ProtocolException(SRP.MessageExceptionOccurred, exception); 582: base(message, inner)
System\ServiceModel\MessageHeaderException.cs (1)
20public MessageHeaderException(string message, string headerName, string ns, bool isDuplicate, Exception innerException) : base(message, innerException)