40 references to ProtocolException
dotnet-svcutil-lib (40)
FrameworkFork\System.ServiceModel\System\ServiceModel\ActionMismatchAddressingException.cs (1)
16
:
base
(message)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncoder.cs (2)
832
throw FxTrace.Exception.AsError(new
ProtocolException
(string.Format(SRServiceModel.EncoderUnrecognizedContentType, contentType, this.ContentType)));
851
throw FxTrace.Exception.AsError(new
ProtocolException
(string.Format(SRServiceModel.EncoderUnrecognizedContentType, contentType, this.ContentType)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FaultConverter.cs (4)
97
exception = new
ProtocolException
(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text);
161
exception = new
ProtocolException
(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text);
169
exception = new
ProtocolException
(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text);
174
exception = new
ProtocolException
(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingDecoders.cs (5)
267
return new
ProtocolException
(string.Format(SRServiceModel.FramingContentTypeMismatch, contentType, via));
288
return new
ProtocolException
(string.Format(SRServiceModel.FramingModeNotSupportedFault, via));
292
return new
ProtocolException
(string.Format(SRServiceModel.FramingVersionNotSupportedFault, via));
310
return new
ProtocolException
(string.Format(SRServiceModel.FramingUpgradeInvalid, via));
314
return new
ProtocolException
(string.Format(SRServiceModel.FramingFaultUnrecognized, faultString));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (3)
1086
new
ProtocolException
(string.Format(SRServiceModel.HttpSoapActionMismatch, action, value)));
1144
new
ProtocolException
(string.Format(SRServiceModel.HttpIfModifiedSinceParseError, value)));
1191
new
ProtocolException
(string.Format(SRServiceModel.EnvelopeVersionUnknown,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
154
new
ProtocolException
(string.Format(SRServiceModel.UnexpectedHttpResponseCode,
181
ProtocolException exception = new
ProtocolException
(message);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageHelper.cs (7)
92
result = new
ProtocolException
(string.Format(SRServiceModel.HttpAddressingNoneHeaderOnWire,
111
result = new
ProtocolException
(string.Format(SRServiceModel.HttpAddressingNoneHeaderOnWire,
142
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ProtocolException
(SRServiceModel.HttpContentTypeHeaderRequired));
154
new
ProtocolException
(
219
new
ProtocolException
(SRServiceModel.HttpContentLengthIncorrect));
338
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ProtocolException
(string.Format(SRServiceModel.MissingContentType, _httpRequestMessage.RequestUri)));
341
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ProtocolException
(string.Format(SRServiceModel.FramingContentTypeMismatch, _httpRequestMessage.Content.Headers.ContentType.ToString(), _httpRequestMessage.RequestUri)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageContent.cs (2)
73
new
ProtocolException
(string.Format(SRServiceModel.HttpSoapActionMismatch, action, value)));
106
new
ProtocolException
(string.Format(SRServiceModel.HttpSoapActionMismatchContentType, action, value)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageEncoder.cs (1)
228
new
ProtocolException
(string.Format(SRServiceModel.EncoderMessageVersionMismatch, message.Version, MessageVersion)),
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (3)
571
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ProtocolException
(SRServiceModel.SFxClientOutputSessionAutoClosed));
933
Exception error = new
ProtocolException
(string.Format(SRServiceModel.SFxReplyActionMismatch3,
1073
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new
ProtocolException
(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TextMessageEncoder.cs (1)
226
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ProtocolException
(string.Format(SRServiceModel.EncoderUnrecognizedCharSet, charSet)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
1243
throw FxTrace.Exception.AsError(new
ProtocolException
(SRServiceModel.WebSocketUnexpectedCloseMessageError));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ProxyOperationRuntime.cs (1)
202
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ProtocolException
(string.Format(SRServiceModel.SFxHeaderNotUnderstood, headersNotUnderstood[0].Name, headersNotUnderstood[0].Namespace)));
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (1)
323
new
ProtocolException
(string.Format(SRServiceModel.AddressingVersionNotSupported, message.Version.Addressing)));
FrameworkFork\System.ServiceModel\System\ServiceModel\ProtocolException.cs (6)
25
return new
ProtocolException
(text);
30
return new
ProtocolException
(text);
36
return new
ProtocolException
(text);
49
return new
ProtocolException
(text);
54
return new
ProtocolException
(text);
60
return new
ProtocolException
(text);