3 types derived from ProtocolException
System.ServiceModel (3)
System\ServiceModel\ActionMismatchAddressingException.cs (1)
13
internal class ActionMismatchAddressingException :
ProtocolException
System\ServiceModel\Channels\WsrmMessageInfo.cs (1)
678
class InternalFaultException :
ProtocolException
System\ServiceModel\MessageHeaderException.cs (1)
12
public class MessageHeaderException :
ProtocolException
32 instantiations of ProtocolException
SMSvcHost (1)
System\ServiceModel\Activation\ListenerConnectionDemuxer.cs (1)
146
Exception exception = new
ProtocolException
(inner.Message, inner);
System.ServiceModel (30)
System\ServiceModel\Channels\ChannelReliableSession.cs (1)
929
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ProtocolException
(exceptionReason));
System\ServiceModel\Channels\ConnectionDemuxer.cs (1)
278
Exception exception = new
ProtocolException
(inner.Message, inner);
System\ServiceModel\Channels\CreateSequence.cs (5)
78
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(WsrmMessageInfo.CreateInternalFaultException(faultReply, reason, new
ProtocolException
(reason)));
101
new
ProtocolException
(reason)));
139
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(WsrmMessageInfo.CreateInternalFaultException(faultReply, reason, new
ProtocolException
(reason)));
154
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(WsrmMessageInfo.CreateInternalFaultException(faultReply, reason, new
ProtocolException
(reason)));
163
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(WsrmMessageInfo.CreateInternalFaultException(faultReply, reason, new
ProtocolException
(reason, e)));
System\ServiceModel\Channels\FaultConverter.cs (4)
98
exception = new
ProtocolException
(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text);
162
exception = new
ProtocolException
(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text);
170
exception = new
ProtocolException
(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text);
175
exception = new
ProtocolException
(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text);
System\ServiceModel\Channels\FramingDecoders.cs (1)
424
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ProtocolException
(exceptionString, inner));
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
602
ProtocolException exception = new
ProtocolException
(message, innerException);
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
3251
return new
ProtocolException
(reason);
System\ServiceModel\Channels\ServiceChannel.cs (2)
1123
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new
ProtocolException
(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text));
1156
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new
ProtocolException
(
System\ServiceModel\Channels\TransactionChannel.cs (1)
192
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ProtocolException
(e.Message, e));
System\ServiceModel\Channels\TransactionChannelFaultConverter.cs (1)
25
exception = new
ProtocolException
(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text);
System\ServiceModel\Channels\WebSocketHelper.cs (1)
290
ex = new
ProtocolException
(ex.Message, ex);
System\ServiceModel\Channels\WsrmFault.cs (1)
114
return new
ProtocolException
(message);
System\ServiceModel\Channels\WsrmMessageInfo.cs (4)
220
return CreateInternalFaultException(faultReply, exceptionReason, new
ProtocolException
(exceptionReason));
908
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(WsrmMessageInfo.CreateInternalFaultException(faultReply, reason, new
ProtocolException
(reason)));
925
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(WsrmMessageInfo.CreateInternalFaultException(faultReply, reason, new
ProtocolException
(reason)));
957
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(WsrmMessageInfo.CreateInternalFaultException(faultReply, reason, new
ProtocolException
(reason)));
System\ServiceModel\ProtocolException.cs (6)
28
return new
ProtocolException
(text);
33
return new
ProtocolException
(text);
39
return new
ProtocolException
(text);
52
return new
ProtocolException
(text);
57
return new
ProtocolException
(text);
63
return new
ProtocolException
(text);
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpSocket.cs (1)
238
result = new
ProtocolException
(errorMessage, inner);
41 references to ProtocolException
SMSvcHost (1)
System\ServiceModel\Activation\ListenerConnectionDemuxer.cs (1)
152
catch (
ProtocolException
exception)
System.ServiceModel (38)
System\ServiceModel\Channels\ContextProtocol.cs (1)
135
catch (
ProtocolException
pe)
System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
600
internal static
ProtocolException
CreateHttpProtocolException(string message, HttpStatusCode statusCode, string statusDescription, Exception innerException)
602
ProtocolException
exception = new ProtocolException(message, innerException);
System\ServiceModel\Channels\HttpChannelListener.cs (3)
1146
if (ex is
ProtocolException
)
1148
ProtocolException
protocolException = (
ProtocolException
)ex;
System\ServiceModel\Channels\MsmqDecodeHelper.cs (5)
76
catch (
ProtocolException
ex)
105
catch (
ProtocolException
ex)
190
catch (
ProtocolException
ex)
221
catch (
ProtocolException
ex)
282
catch (
ProtocolException
ex)
System\ServiceModel\Channels\ReliableChannelBinder.cs (1)
659
if (e is
ProtocolException
)
System\ServiceModel\Channels\ReliableChannelListener.cs (1)
672
if (e is
ProtocolException
)
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (4)
582
ProtocolException
error =
ProtocolException
.ReceiveShutdownReturnedNonNull(message);
842
ProtocolException
error =
ProtocolException
.ReceiveShutdownReturnedNonNull(message);
System\ServiceModel\Dispatcher\RequestChannelBinder.cs (2)
115
ProtocolException
error =
ProtocolException
.OneWayOperationReturnedNonNull(message);
System\ServiceModel\ProtocolException.cs (2)
19
internal static
ProtocolException
ReceiveShutdownReturnedNonNull(Message message)
43
internal static
ProtocolException
OneWayOperationReturnedNonNull(Message message)
System\ServiceModel\Security\SecuritySessionClientSettings.cs (4)
2858
ProtocolException
error =
ProtocolException
.ReceiveShutdownReturnedNonNull(message);
3133
ProtocolException
error =
ProtocolException
.ReceiveShutdownReturnedNonNull(message);
System\ServiceModel\Security\SecuritySessionFilter.cs (1)
70
|| (e is
ProtocolException
)
System\ServiceModel\Security\SecuritySessionServerSettings.cs (12)
1561
ProtocolException
error =
ProtocolException
.ReceiveShutdownReturnedNonNull(message);
2676
ProtocolException
error =
ProtocolException
.ReceiveShutdownReturnedNonNull(requestMessage);
3032
ProtocolException
error =
ProtocolException
.ReceiveShutdownReturnedNonNull(message);
3361
ProtocolException
error =
ProtocolException
.ReceiveShutdownReturnedNonNull(message);
3804
ProtocolException
error =
ProtocolException
.ReceiveShutdownReturnedNonNull(message);
4324
ProtocolException
error =
ProtocolException
.ReceiveShutdownReturnedNonNull(message);
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\DiscoveryClient.cs (1)
319
catch (
ProtocolException
protocolException)
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\ProcessRequestAsyncResult.cs (1)
251
else if (exception is
ProtocolException
)