6 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.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)));