6 references to CommunicationException
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\FramingDecoders.cs (1)
284return new CommunicationException(SR.Format(SR.Sharing_ConnectionDispatchFailed, via));
System.ServiceModel.NetNamedPipe (1)
System\ServiceModel\AddressAccessDeniedException.cs (1)
12public AddressAccessDeniedException(string message) : base(message) { }
System.ServiceModel.Primitives.Tests (3)
ServiceModel\ChannelFactoryTest.cs (1)
309customBinding.Elements.Insert(0, new ThrowingOnCloseBindingElement(new CommunicationException(nameof(ChannelFactory_AsyncDisposable_NoThrow)), false));
ServiceModel\ClientBaseTest.cs (1)
199customBinding.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)
341new CommunicationException(SR.Format(SR.SocketCloseReadReceivedData, _socket.RemoteEndPoint)));