20 types derived from CommunicationException
System.ServiceModel (19)
System\ServiceModel\ActionNotSupportedException.cs (1)
13public class ActionNotSupportedException : CommunicationException
System\ServiceModel\AddressAccessDeniedException.cs (1)
10public class AddressAccessDeniedException : CommunicationException
System\ServiceModel\AddressAlreadyInUseException.cs (1)
10public class AddressAlreadyInUseException : CommunicationException
System\ServiceModel\Channels\RedirectionException.cs (1)
21public class RedirectionException : CommunicationException
System\ServiceModel\Channels\RetryException.cs (1)
11public class RetryException : CommunicationException
System\ServiceModel\ChannelTerminatedException.cs (1)
11public class ChannelTerminatedException : CommunicationException
System\ServiceModel\CommunicationObjectAbortedException.cs (1)
11public class CommunicationObjectAbortedException : CommunicationException
System\ServiceModel\CommunicationObjectFaultedException.cs (1)
11public class CommunicationObjectFaultedException : CommunicationException
System\ServiceModel\Dispatcher\MessageFilterException.cs (1)
15public class MessageFilterException : CommunicationException
System\ServiceModel\EndpointNotFoundException.cs (1)
10public class EndpointNotFoundException : CommunicationException
System\ServiceModel\FaultException.cs (1)
21public class FaultException : CommunicationException
System\ServiceModel\MustUnderstandSoapException.cs (1)
15internal class MustUnderstandSoapException : CommunicationException
System\ServiceModel\PoisonMessageException.cs (1)
10public class PoisonMessageException : CommunicationException
System\ServiceModel\ProtocolException.cs (1)
12public class ProtocolException : CommunicationException
System\ServiceModel\Security\MessageSecurityException.cs (1)
20public class MessageSecurityException : CommunicationException
System\ServiceModel\Security\SecurityAccessDeniedException.cs (1)
11public class SecurityAccessDeniedException : CommunicationException
System\ServiceModel\Security\SecurityNegotiationException.cs (1)
11public class SecurityNegotiationException : CommunicationException
System\ServiceModel\ServerTooBusyException.cs (1)
11public class ServerTooBusyException : CommunicationException
System\ServiceModel\ServiceActivationException.cs (1)
11public class ServiceActivationException : CommunicationException
System.WorkflowServices (1)
System\ServiceModel\Persistence\PersistenceException.cs (1)
11public class PersistenceException : CommunicationException
44 instantiations of CommunicationException
System.ServiceModel (38)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
571throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(message, inner));
System\ServiceModel\Channels\ChannelReliableSession.cs (1)
369e = new CommunicationException(exceptionMessage);
System\ServiceModel\Channels\Connection.cs (1)
638return new CommunicationException(ioException.InnerException.Message, ioException);
System\ServiceModel\Channels\FramingDecoders.cs (3)
285return new CommunicationException(inner.Message, inner); 298return new CommunicationException(inner.Message, inner); 303return new CommunicationException(inner.Message, inner);
System\ServiceModel\Channels\HttpChannelFactory.cs (3)
1632throw TraceUtility.ThrowHelperError(new CommunicationException(ioException.Message, 1637throw TraceUtility.ThrowHelperError(new CommunicationException(webException.Message, 1883completionException = new CommunicationException(webException.Message, webException);
System\ServiceModel\Channels\HttpChannelHelpers.cs (8)
148throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(message, inner)); 986throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(objectDisposedException.Message, objectDisposedException)); 1006throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(objectDisposedException.Message, objectDisposedException)); 1022throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(objectDisposedException.Message, objectDisposedException)); 1043throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(objectDisposedException.Message, objectDisposedException)); 3224return new CommunicationException(listenerException.Message, listenerException); 3519throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(webException.Message, 3642return TraceResponseException(new CommunicationException(webException.Message, webException));
System\ServiceModel\Channels\MaxMessageSizeStream.cs (2)
77return new CommunicationException(message, inner); 90return new CommunicationException(message, inner);
System\ServiceModel\Channels\Message.cs (3)
1317new CommunicationException(versionMismatchException.Message, versionMismatchException), 1520new CommunicationException(versionMismatchException.Message, versionMismatchException), 1902throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(message, inner));
System\ServiceModel\Channels\PipeConnection.cs (7)
217return new CommunicationException(this.timeoutErrorString, pipeException); 226return new CommunicationException(exceptionMessage, pipeException); 635return new CommunicationException(innerException.Message, innerException); 2066throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(innerException.Message, innerException)); 2103throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(innerException.Message, innerException)); 2254return new CommunicationException(innerException.Message, innerException); 2546throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(innerException.Message, innerException));
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (2)
1549new CommunicationException(exception.Message, exception)); 3255return new CommunicationException(reason);
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
1125return new CommunicationException(message, exception);
System\ServiceModel\Channels\SocketConnection.cs (1)
818return new CommunicationException(timeoutErrorString, originalException);
System\ServiceModel\Channels\WebSocketHelper.cs (2)
293ex = new CommunicationException(ex.Message, ex); 322return new CommunicationException(exception.Message, exception);
System\ServiceModel\Channels\WsrmFault.cs (2)
116return new CommunicationException(message); 673return new CommunicationException(message);
System\ServiceModel\Security\TimeBoundedCache.cs (1)
416throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(message, inner));
System.ServiceModel.Activation (3)
System\ServiceModel\Activation\HostedHttpContext.cs (2)
456return new CommunicationException(hostedException.Message, hostedException); 729throw FxTrace.Exception.AsError(new CommunicationException(e.Message, e));
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (1)
605throw FxTrace.Exception.AsError(new CommunicationException(hostedException.Message, hostedException));
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpSocket.cs (1)
252result = new CommunicationException(errorMessage, socketException);
System.ServiceModel.Web (2)
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (1)
451throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(
System\ServiceModel\Dispatcher\WebFaultClientMessageInspector.cs (1)
28throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(prop.StatusDescription));
199 references to CommunicationException
SMSvcHost (3)
System\ServiceModel\Activation\SharingService.cs (1)
139catch (CommunicationException exception)
System\ServiceModel\Activation\WorkerProcess.cs (2)
355(exception is CommunicationException) || 380catch (CommunicationException e)
System.ServiceModel (162)
System\ServiceModel\Channels\ChannelDemuxer.cs (20)
154catch (CommunicationException e) 278catch (CommunicationException e) 318catch (CommunicationException e) 612catch (CommunicationException e) 691catch (CommunicationException e) 1376catch (CommunicationException e) 1417catch (CommunicationException e) 1465catch (CommunicationException e) 1729catch (CommunicationException e) 1785catch (CommunicationException e) 1831catch (CommunicationException e) 1882catch (CommunicationException e) 1927catch (CommunicationException e) 2224catch (CommunicationException e) 2263catch (CommunicationException e) 2800catch (CommunicationException e) 2842catch (CommunicationException e) 3000catch (CommunicationException e) 3042catch (CommunicationException e) 3357catch (CommunicationException e)
System\ServiceModel\Channels\ChannelTracker.cs (1)
110catch (CommunicationException e)
System\ServiceModel\Channels\ConnectAlgorithms.cs (1)
203catch (CommunicationException e)
System\ServiceModel\Channels\Connection.cs (2)
636else if (ioException.InnerException is CommunicationException) 918catch (CommunicationException e)
System\ServiceModel\Channels\ConnectionAcceptor.cs (2)
95catch (CommunicationException exception) 200catch (CommunicationException exception)
System\ServiceModel\Channels\ConnectionDemuxer.cs (1)
236catch (CommunicationException exception)
System\ServiceModel\Channels\ConnectionModeReader.cs (1)
91catch (CommunicationException e)
System\ServiceModel\Channels\ConnectionPool.cs (8)
47[Fx.Tag.Throws(typeof(CommunicationException), "A communication exception occurred closing this item")] 180catch (CommunicationException exception) 305[Fx.Tag.Throws(typeof(CommunicationException), "A communication exception occurred closing this item")] 337[Fx.Tag.Throws(typeof(CommunicationException), "A communication exception occurred closing this item")] 766catch (CommunicationException e) 927catch (CommunicationException e) 1046catch (CommunicationException e) 1257catch (CommunicationException communicationException)
System\ServiceModel\Channels\DatagramAdapter.cs (7)
143catch (CommunicationException e) 180catch (CommunicationException e) 213catch (CommunicationException e) 394catch (CommunicationException e) 456catch (CommunicationException e) 508catch (CommunicationException e) 535catch (CommunicationException e)
System\ServiceModel\Channels\HttpChannelHelpers.cs (5)
266catch (CommunicationException e) 286catch (CommunicationException e) 351catch (CommunicationException e) 565currentContent.CopyToAsync(ms).Wait<CommunicationException>(); 1892if (!httpResponseMessage.Content.CopyToAsync(this.outputStream).Wait<CommunicationException>(timeout))
System\ServiceModel\Channels\HttpChannelListener.cs (1)
1189if (e is CommunicationException)
System\ServiceModel\Channels\InitialServerConnectionReader.cs (3)
120catch (CommunicationException communicationException) 250catch (CommunicationException e) 276catch (CommunicationException e)
System\ServiceModel\Channels\OneWayChannelFactory.cs (2)
228if (e is CommunicationException || 578catch (CommunicationException e)
System\ServiceModel\Channels\OneWayChannelListener.cs (10)
122catch (CommunicationException e) 330catch (CommunicationException e) 377catch (CommunicationException e) 736catch (CommunicationException e) 808catch (CommunicationException e) 931catch (CommunicationException e) // ---- CommunicationException 998catch (CommunicationException e) 1273catch (CommunicationException e) 1368catch (CommunicationException e) 1414catch (CommunicationException e)
System\ServiceModel\Channels\PeerConnector.cs (1)
150if (e is CommunicationException ||
System\ServiceModel\Channels\PeerFlooder.cs (3)
172if (e is QuotaExceededException || (e is CommunicationException && e.InnerException is QuotaExceededException)) 331catch (CommunicationException e) 482(exception is CommunicationException && !(exception.InnerException is QuotaExceededException))
System\ServiceModel\Channels\PeerNeighborManager.cs (1)
424if (e is InvalidOperationException || e is CommunicationException || e is TimeoutException)
System\ServiceModel\Channels\PipeConnection.cs (3)
543catch (CommunicationException e) 608catch (CommunicationException exception) 632CommunicationException CreatePipeDuplicationFailedException(int win32Error)
System\ServiceModel\Channels\ReliableChannelBinder.cs (1)
664return (e is CommunicationException)
System\ServiceModel\Channels\ReliableChannelListener.cs (2)
651if ((e is CommunicationException || e is TimeoutException) && 678return e is CommunicationException;
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
3517catch (CommunicationException e)
System\ServiceModel\Channels\RequestContextBase.cs (1)
323catch (CommunicationException e)
System\ServiceModel\Channels\ServiceChannel.cs (2)
909catch (CommunicationException e) 1548catch (CommunicationException) { } // Race condition if InstanceContext was faulted since the state check. Ignoring Exception
System\ServiceModel\Channels\SessionConnectionReader.cs (3)
101catch (CommunicationException exception) 197catch (CommunicationException exception) 252catch (CommunicationException exception)
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
983if (exception is CommunicationException ||
System\ServiceModel\Channels\SingletonConnectionReader.cs (3)
167catch (CommunicationException exception) 223catch (CommunicationException exception) 908catch (CommunicationException exception)
System\ServiceModel\Channels\SocketConnection.cs (2)
761CommunicationException communicationException = new CommunicationException(SR.GetString(SR.TcpConnectionResetError, timeout), originalException); 794CommunicationException communicationException = new CommunicationException(SR.GetString(SR.TcpTransferError, socketException.ErrorCode, socketException.Message), originalException);
System\ServiceModel\Channels\UtilityExtension.cs (1)
355(e is CommunicationException))
System\ServiceModel\Channels\WebSocketHelper.cs (1)
329throw FxTrace.Exception.AsError<CommunicationException>(task.Exception);
System\ServiceModel\Channels\WsrmFault.cs (3)
94public virtual CommunicationException CreateException() 119public static CommunicationException CreateException(WsrmFault fault) 659public override CommunicationException CreateException()
System\ServiceModel\Channels\WsrmMessageInfo.cs (1)
632catch (CommunicationException exception)
System\ServiceModel\ClientBase.cs (1)
370(ex is CommunicationException ||
System\ServiceModel\Diagnostics\MessageTraceRecord.cs (1)
92catch (CommunicationException e)
System\ServiceModel\Dispatcher\ErrorHandlingAcceptor.cs (6)
91catch (CommunicationException e) 127catch (CommunicationException e) 177catch (CommunicationException e) 204catch (CommunicationException e) 232catch (CommunicationException e) 263catch (CommunicationException e)
System\ServiceModel\Dispatcher\ErrorhandlingReceiver.cs (6)
74catch (CommunicationException e) 112catch (CommunicationException e) 157catch (CommunicationException e) 190catch (CommunicationException e) 218catch (CommunicationException e) 249catch (CommunicationException e)
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (4)
486catch (CommunicationException e) 533catch (CommunicationException e) 929CommunicationException error = new CommunicationException(SR.GetString(SR.SFxOneWayMessageToTwoWayMethod0)); 938CommunicationException error = new CommunicationException(SR.GetString(SR.SFxRequestReplyNone));
System\ServiceModel\Dispatcher\InstanceContextManager.cs (2)
105catch (CommunicationException e) 145catch (CommunicationException e)
System\ServiceModel\Dispatcher\ListenerHandler.cs (1)
327catch (CommunicationException e)
System\ServiceModel\InstanceContext.cs (1)
385catch (CommunicationException e)
System\ServiceModel\MsmqException.cs (18)
77faultSender = true; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 83faultSender = true; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 85faultSender = true; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 87faultSender = true; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 89faultSender = true; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 91faultSender = true; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 99faultSender = true; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 101faultSender = true; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 103faultSender = true; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 105faultSender = true; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 107faultSender = true; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 112faultSender = false; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 122faultSender = true; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 124faultSender = true; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 126faultSender = false; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 128faultSender = true; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 135faultSender = true; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break; 137faultSender = true; faultReceiver = true; outerExceptionType = typeof(CommunicationException); break;
System\ServiceModel\PeerResolvers\PeerDefaultCustomResolverClient.cs (4)
205catch (CommunicationException e) 236catch (CommunicationException e) 280catch (CommunicationException e) 322catch (CommunicationException e)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (2)
527catch (CommunicationException e) 1126catch (CommunicationException ex)
System\ServiceModel\Security\SecuritySessionClientSettings.cs (6)
1102if ((e is CommunicationException) || (e is TimeoutException) || (Fx.IsFatal(e)) || !ShouldWrapException(e)) 3309catch (CommunicationException e) 3354catch (CommunicationException e) 3401catch (CommunicationException e) 3557if (pendingException is CommunicationException) 3601if (pendingException is CommunicationException)
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
1058catch (CommunicationException ex)
System\ServiceModel\Security\SecuritySessionServerSettings.cs (14)
857catch (CommunicationException e) 898catch (CommunicationException e) 1714catch (CommunicationException ex) 1800if ((e is CommunicationException) || (e is TimeoutException) || (Fx.IsFatal(e)) || !ShouldWrapException(e)) 1917catch (CommunicationException e) 2009catch (CommunicationException e) 2027catch (CommunicationException e) 2050catch (CommunicationException e) 2104catch (CommunicationException e) 2122catch (CommunicationException e) 2144catch (CommunicationException e) 4601if (pendingException is CommunicationException) 4638if (pendingException is CommunicationException) 4669if (pendingException is CommunicationException)
System\ServiceModel\Security\SecurityUtils.cs (1)
1622catch (CommunicationException e)
System.ServiceModel.Activation (1)
System\ServiceModel\ServiceHostingEnvironment.cs (1)
1713if (!(exception is CommunicationException))
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\InternalSendMessage.cs (2)
2977catch (CommunicationException) 3008catch (CommunicationException)
System.ServiceModel.Channels (2)
System\ServiceModel\Channels\UdpSocketReceiveManager.cs (1)
311catch (CommunicationException ex)
System\ServiceModel\Channels\UdpUtility.cs (1)
412else if (ex is CommunicationException)
System.ServiceModel.Discovery (17)
System\ServiceModel\Discovery\AnnouncementClient.cs (10)
292[Fx.Tag.Throws(typeof(CommunicationException), "Inherits from Channel exception contract")] 299[Fx.Tag.Throws(typeof(CommunicationException), "Inherits from Channel exception contract")] 314[Fx.Tag.Throws(typeof(CommunicationException), "Inherits from Channel exception contract")] 321[Fx.Tag.Throws(typeof(CommunicationException), "Inherits from Channel exception contract")] 336[Fx.Tag.Throws(typeof(CommunicationException), "Inherits from Channel exception contract")] 352[Fx.Tag.Throws(typeof(CommunicationException), "Inherits from Channel exception contract")] 368[Fx.Tag.Throws(typeof(CommunicationException), "Inherits from Channel exception contract")] 383[Fx.Tag.Throws(typeof(CommunicationException), "Inherits from Channel exception contract")] 402[Fx.Tag.Throws(typeof(CommunicationException), "Inherits from Channel exception contract")] 417[Fx.Tag.Throws(typeof(CommunicationException), "Inherits from Channel exception contract")]
System\ServiceModel\Discovery\DiscoveryClient.cs (2)
380[Fx.Tag.Throws(typeof(CommunicationException), "A communication failure interrupted this operation.")] 466[Fx.Tag.Throws(typeof(CommunicationException), "A communication failure interrupted this operation.")]
System\ServiceModel\Discovery\DiscoveryClientChannelBase.cs (5)
243catch (CommunicationException communicationException) 383catch (CommunicationException communicationException) 546new DiscoveryChannelBuilderAsyncResult.AsyncCatch<CommunicationException>(HandleCommunicationException), 576static Exception HandleCommunicationException(DiscoveryChannelBuilderAsyncResult thisPtr, CommunicationException e) 614catch (CommunicationException communicationException)
System.ServiceModel.Routing (4)
System\ServiceModel\Routing\ProcessMessagesAsyncResult.cs (2)
500if (!(e is CommunicationException || e is TimeoutException)) 586if (!(e is CommunicationException || e is TimeoutException))
System\ServiceModel\Routing\ProcessRequestAsyncResult.cs (1)
211if (!(exception is CommunicationException || exception is TimeoutException))
System\ServiceModel\Routing\RoutingChannelExtension.cs (1)
136catch (CommunicationException communicationException)
System.ServiceModel.WasHosting (1)
System\ServiceModel\WasHosting\BaseAppDomainProtocolHandler.cs (1)
94catch (CommunicationException exception)
System.WorkflowServices (7)
System\Workflow\Activities\ReceiveActivity.cs (5)
511catch (CommunicationException cex) 937catch (CommunicationException cex) 1139catch (CommunicationException cex) 1166catch (CommunicationException cex) 1664catch (CommunicationException cex)
System\Workflow\Runtime\Hosting\ChannelManager.cs (1)
405catch (CommunicationException communicationException)
System\Workflow\Runtime\Hosting\ChannelManagerHelpers.cs (1)
79catch (CommunicationException communicatioException)