10 references to ProtocolException
dotnet-svcutil-lib (10)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingChannels.cs (1)
608
new
ProtocolException
(string.Format(SRServiceModel.ServerRejectedSessionPreamble, via),
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingDecoders.cs (2)
423
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ProtocolException
(exceptionString, inner));
456
return new
ProtocolException
(string.Format(SRServiceModel.FramingError, StreamPosition, CurrentStateAsString),
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageHelper.cs (3)
191
new
ProtocolException
(SRServiceModel.MessageXmlProtocolError, xmlException));
242
new
ProtocolException
(SRServiceModel.MessageXmlProtocolError, xmlException));
280
new
ProtocolException
(SRServiceModel.MessageXmlProtocolError, xmlException));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageContent.cs (1)
113
new
ProtocolException
(string.Format(SRServiceModel.HttpContentTypeFormatException, formatException.Message, Headers.ContentType.ToString()), formatException));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SessionConnectionReader.cs (1)
397
new
ProtocolException
(SRServiceModel.MessageXmlProtocolError, xmlException));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TextMessageEncoder.cs (1)
220
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ProtocolException
(SRServiceModel.EncoderBadContentType, e));
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageHeaderException.cs (1)
41
:
base
(message, innerException)