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