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