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