13 types derived from CommunicationException
dotnet-svcutil-lib (13)
FrameworkFork\System.ServiceModel\System\ServiceModel\ActionNotSupportedException.cs (1)
10public class ActionNotSupportedException : CommunicationException
FrameworkFork\System.ServiceModel\System\ServiceModel\ChannelTerminatedException.cs (1)
7public class ChannelTerminatedException : CommunicationException
FrameworkFork\System.ServiceModel\System\ServiceModel\CommunicationObjectAbortedException.cs (1)
7public class CommunicationObjectAbortedException : CommunicationException
FrameworkFork\System.ServiceModel\System\ServiceModel\CommunicationObjectFaultedException.cs (1)
7public class CommunicationObjectFaultedException : CommunicationException
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointNotFoundException.cs (1)
7public class EndpointNotFoundException : CommunicationException
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultException.cs (1)
17public class FaultException : CommunicationException
FrameworkFork\System.ServiceModel\System\ServiceModel\MustUnderstandSoapException.cs (1)
12internal class MustUnderstandSoapException : CommunicationException
FrameworkFork\System.ServiceModel\System\ServiceModel\ProtocolException.cs (1)
10public class ProtocolException : CommunicationException
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\MessageSecurityException.cs (1)
9public class MessageSecurityException : CommunicationException
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityAccessDeniedException.cs (1)
7public class SecurityAccessDeniedException : CommunicationException
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityNegotiationException.cs (1)
7public class SecurityNegotiationException : CommunicationException
FrameworkFork\System.ServiceModel\System\ServiceModel\ServerTooBusyException.cs (1)
10public class ServerTooBusyException : CommunicationException
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceActivationException.cs (1)
10public class ServiceActivationException : CommunicationException
52 instantiations of CommunicationException
dotnet-svcutil-lib (52)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
475throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(message, inner));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (3)
159throw FxTrace.Exception.AsError(new CommunicationException(string.Format(SRServiceModel.WebSocketVersionMismatchFromServer, ""), ex)); 161throw FxTrace.Exception.AsError(new CommunicationException(string.Format(SRServiceModel.WebSocketSubProtocolMismatchFromServer, ""), ex)); 166throw FxTrace.Exception.AsError(new CommunicationException(ex.Message, ex));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (2)
528return new CommunicationException(ioException.InnerException.Message, ioException); 532return new CommunicationException(SRServiceModel.StreamError, ioException);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrSocketConnection.cs (3)
132new CommunicationException(string.Format(SRServiceModel.SocketCloseReadReceivedData, thisPtr.RemoteEndPoint))); 254new CommunicationException(string.Format(SRServiceModel.SocketCloseReadReceivedData, RemoteEndPoint))); 298new CommunicationException(string.Format(SRServiceModel.SocketCloseReadReceivedData, RemoteEndPoint)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingDecoders.cs (4)
275return new CommunicationException(string.Format(SRServiceModel.Sharing_ConnectionDispatchFailed, via)); 284return new CommunicationException(inner.Message, inner); 297return new CommunicationException(inner.Message, inner); 302return new CommunicationException(inner.Message, inner);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelHelpers.cs (3)
122throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(requestException.Message, requestException)); 137return new CommunicationException(string.Format(SRServiceModel.HttpReceiveFailure, request.RequestUri), exception); 143return new CommunicationException(exception.Message, exception);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageHelper.cs (1)
255throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(message, inner));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MaxMessageSizeStream.cs (2)
74return new CommunicationException(message, inner); 87return new CommunicationException(message, inner);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Message.cs (6)
1204throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(SRServiceModel.MessageVersionUnknown)); 1206throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(SRServiceModel.MessageBodyMissing)); 1214throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(SRServiceModel.MessageBodyMissing)); 1252new CommunicationException(versionMismatchException.Message, versionMismatchException), 1454new CommunicationException(versionMismatchException.Message, versionMismatchException), 1834throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(message, inner));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageFault.cs (3)
91throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException( 96throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException( 101throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (2)
770throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(SRServiceModel.SFxServerDidNotReply)); 1868throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(SRServiceModel.SFxServerDidNotReply));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SocketConnection.cs (5)
236CommunicationException communicationException = new CommunicationException(string.Format(SRServiceModel.TcpConnectionResetError, timeout), originalException); 253CommunicationException communicationException = new CommunicationException(string.Format(SRServiceModel.TcpTransferError, (int)socketException.SocketErrorCode, socketException.Message), originalException); 270return new CommunicationException(timeoutErrorString, originalException); 473return new CommunicationException(string.Format(SRServiceModel.TcpConnectError, remoteUri.AbsoluteUri, (int)socketException.SocketErrorCode, socketException.Message), innerException); 477return new CommunicationException(string.Format(SRServiceModel.TcpConnectErrorWithTimeSpan, remoteUri.AbsoluteUri, (int)socketException.SocketErrorCode, socketException.Message, timeSpent), innerException);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketHelper.cs (1)
186return new CommunicationException(exception.Message, exception);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
239throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (2)
428CommunicationException error = new CommunicationException(SRServiceModel.SFxOneWayMessageToTwoWayMethod0); 437CommunicationException error = new CommunicationException(SRServiceModel.SFxRequestReplyNone);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (4)
143throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException( 148throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException( 153throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException( 219throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (4)
394throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException( 399throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException( 404throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException( 447throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (4)
126throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException( 239throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException( 300throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException( 386throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\TimeBoundedCache.cs (1)
412throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(message, inner));
22 references to CommunicationException
dotnet-svcutil-lib (22)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (2)
526else if (ioException.InnerException is CommunicationException) 755catch (CommunicationException)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ConnectionPool.cs (1)
178catch (CommunicationException)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ConnectionPoolHelper.cs (3)
77catch (CommunicationException) 159catch (CommunicationException /*e*/) 294catch (CommunicationException /*e*/)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageHelper.cs (2)
87catch (CommunicationException) 105catch (CommunicationException)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\RequestContextBase.cs (1)
315catch (CommunicationException)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (1)
851catch (CommunicationException)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SocketConnection.cs (2)
236CommunicationException communicationException = new CommunicationException(string.Format(SRServiceModel.TcpConnectionResetError, timeout), originalException); 253CommunicationException communicationException = new CommunicationException(string.Format(SRServiceModel.TcpTransferError, (int)socketException.SocketErrorCode, socketException.Message), originalException);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketHelper.cs (2)
193throw FxTrace.Exception.AsError<CommunicationException>(task.Exception); 206return FxTrace.Exception.AsError<CommunicationException>(task.Exception);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ErrorHandlingReceiver.cs (3)
72catch (CommunicationException e) 110catch (CommunicationException e) 155catch (CommunicationException e)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (4)
130catch (CommunicationException e) 170catch (CommunicationException e) 428CommunicationException error = new CommunicationException(SRServiceModel.SFxOneWayMessageToTwoWayMethod0); 437CommunicationException error = new CommunicationException(SRServiceModel.SFxRequestReplyNone);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (1)
719catch (CommunicationException)