44 references to CommunicationException
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\FramingDecoders.cs (1)
284
return new
CommunicationException
(SR.Format(SR.Sharing_ConnectionDispatchFailed, via));
System.ServiceModel.NetNamedPipe (1)
System\ServiceModel\AddressAccessDeniedException.cs (1)
12
public AddressAccessDeniedException(string message) :
base
(message) { }
System.ServiceModel.NetTcp (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
364
new
CommunicationException
(SR.Format(SR.SocketCloseReadReceivedData, _socket.RemoteEndPoint)));
System.ServiceModel.Primitives (37)
System\ServiceModel\ActionNotSupportedException.cs (1)
15
public ActionNotSupportedException(string message) :
base
(message) { }
System\ServiceModel\Channels\ChannelReliableSession.cs (1)
276
e = new
CommunicationException
(exceptionMessage);
System\ServiceModel\Channels\ClientReliableDuplexSessionChannel.cs (1)
949
Exception e = new
CommunicationException
(SRP.EarlySecurityClose);
System\ServiceModel\Channels\CommunicationObject.cs (1)
480
return new
CommunicationException
(SRP.Format(SRP.CommunicationObjectCloseInterrupted1, GetCommunicationObjectType().ToString()));
System\ServiceModel\Channels\Message.cs (3)
1296
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
CommunicationException
(SRP.MessageVersionUnknown));
1301
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
CommunicationException
(SRP.MessageBodyMissing));
1312
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
CommunicationException
(SRP.MessageBodyMissing));
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
1860
return new
CommunicationException
(reason);
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (1)
832
Exception e = new
CommunicationException
(SRP.EarlySecurityClose);
System\ServiceModel\Channels\ServiceChannel.cs (2)
765
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
CommunicationException
(SRP.SFxServerDidNotReply));
1905
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
CommunicationException
(SRP.SFxServerDidNotReply));
System\ServiceModel\Channels\WsrmFault.cs (2)
116
return new
CommunicationException
(message);
672
return new
CommunicationException
(message);
System\ServiceModel\ChannelTerminatedException.cs (1)
13
public ChannelTerminatedException(string message) :
base
(message) { }
System\ServiceModel\CommunicationObjectAbortedException.cs (1)
13
public CommunicationObjectAbortedException(string message) :
base
(message) { }
System\ServiceModel\CommunicationObjectFaultedException.cs (1)
13
public CommunicationObjectFaultedException(string message) :
base
(message) { }
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (2)
496
CommunicationException error = new
CommunicationException
(SRP.SFxOneWayMessageToTwoWayMethod0);
505
CommunicationException error = new
CommunicationException
(SRP.SFxRequestReplyNone);
System\ServiceModel\EndpointNotFoundException.cs (1)
13
public EndpointNotFoundException(string message) :
base
(message) { }
System\ServiceModel\FaultException.cs (9)
24
:
base
(SRP.SFxFaultReason)
31
:
base
(reason)
38
:
base
(GetSafeReasonText(reason))
45
:
base
(reason)
52
:
base
(GetSafeReasonText(reason))
59
:
base
(reason)
75
:
base
(GetSafeReasonText(reason))
91
:
base
(GetSafeReasonText(GetReason(fault)))
104
:
base
(GetSafeReasonText(GetReason(fault)))
System\ServiceModel\ProtocolException.cs (1)
15
public ProtocolException(string message) :
base
(message) { }
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
474
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
CommunicationException
(SRP.FailToReceiveReplyFromNegotiation));
System\ServiceModel\Security\MessageSecurityException.cs (1)
13
public MessageSecurityException(string message) :
base
(message) { }
System\ServiceModel\Security\SecurityAccessDeniedException.cs (1)
12
public SecurityAccessDeniedException(string message) :
base
(message) { }
System\ServiceModel\Security\SecurityNegotiationException.cs (1)
13
public SecurityNegotiationException(string message) :
base
(message) { }
System\ServiceModel\Security\SecuritySessionClientSettings.cs (1)
1248
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new
CommunicationException
(SRP.OutputNotExpected));
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
523
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
CommunicationException
(SRP.FailToReceiveReplyFromNegotiation));
System\ServiceModel\ServerTooBusyException.cs (1)
14
public ServerTooBusyException(string message) :
base
(message) { }
System\ServiceModel\ServiceActivationException.cs (1)
13
public ServiceActivationException(string message) :
base
(message) { }
System.ServiceModel.Primitives.Tests (3)
ServiceModel\ChannelFactoryTest.cs (1)
309
customBinding.Elements.Insert(0, new ThrowingOnCloseBindingElement(new
CommunicationException
(nameof(ChannelFactory_AsyncDisposable_NoThrow)), false));
ServiceModel\ClientBaseTest.cs (1)
199
customBinding.Elements.Insert(0, new ThrowingOnCloseBindingElement(new
CommunicationException
(nameof(ClientBaseDisposeAsyncNoThrow)), channelThrows));
ServiceModel\ThrowingOnCloseBindingElement.cs (1)
18
_exception = new
CommunicationException
("Unspecified communication exception");
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
341
new
CommunicationException
(SR.Format(SR.SocketCloseReadReceivedData, _socket.RemoteEndPoint)));