Base:
26 references to Message
ClientSample (1)
Tcp\TcpConnection.cs (1)
118error = new ConnectionResetException(ex.Message, ex);
dotnet-svcutil-lib (8)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SocketConnection.cs (8)
210return new CommunicationObjectAbortedException(socketException.Message, socketException); 249return new CommunicationObjectAbortedException(string.Format(SRServiceModel.TcpTransferError, (int)socketException.SocketErrorCode, socketException.Message), originalException); 253CommunicationException communicationException = new CommunicationException(string.Format(SRServiceModel.TcpTransferError, (int)socketException.SocketErrorCode, socketException.Message), originalException); 439return new CommunicationObjectAbortedException(socketException.Message, socketException); 452return new EndpointNotFoundException(string.Format(SRServiceModel.TcpConnectError, remoteUri.AbsoluteUri, (int)socketException.SocketErrorCode, socketException.Message), innerException); 456return new EndpointNotFoundException(string.Format(SRServiceModel.TcpConnectErrorWithTimeSpan, remoteUri.AbsoluteUri, (int)socketException.SocketErrorCode, socketException.Message, timeSpent), innerException); 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);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Internal\QuicConnectionListener.cs (1)
137throw new AddressInUseException(e.Message, e);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (3)
Internal\SocketConnection.cs (2)
212error = new ConnectionResetException(ex.Message, ex); 292shutdownReason = new ConnectionResetException(ex.Message, ex);
SocketConnectionListener.cs (1)
48throw new AddressInUseException(e.Message, e);
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\HostNameIsReachableAttribute.cs (1)
51_error = ex.Message;
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\HostNameIsReachableAttribute.cs (1)
51_error = ex.Message;
System.IO.Pipes (1)
System\IO\Pipes\PipeStream.Unix.cs (1)
338return new IOException(e.Message, e);
System.Net.HttpListener (1)
System\Net\Managed\HttpEndPointManager.cs (1)
161throw new HttpListenerException(ex.ErrorCode, ex.Message);
System.Net.Primitives (1)
System\Net\SocketException.cs (1)
59if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"{NativeErrorCode}:{Message}");
System.ServiceModel.UnixDomainSocket (8)
System\ServiceModel\Channels\SocketConnection.cs (8)
651return new CommunicationObjectAbortedException(socketException.Message, socketException); 690return new CommunicationObjectAbortedException(SR.Format(SR.UDSTransferError, socketException.ErrorCode, socketException.Message), originalException); 694CommunicationException communicationException = new CommunicationException(SR.Format(SR.UDSTransferError, socketException.ErrorCode, socketException.Message), originalException); 794return new CommunicationObjectAbortedException(socketException.Message, socketException); 807return new EndpointNotFoundException(SR.Format(SR.UDSConnectError, remoteUri.AbsoluteUri, (int)socketException.SocketErrorCode, socketException.Message), innerException); 811return new EndpointNotFoundException(SR.Format(SR.UDSConnectErrorWithTimeSpan, remoteUri.AbsoluteUri, (int)socketException.SocketErrorCode, socketException.Message, timeSpent), innerException); 828return new CommunicationException(SR.Format(SR.UDSConnectError, remoteUri.AbsoluteUri, (int)socketException.SocketErrorCode, socketException.Message), innerException); 832return new CommunicationException(SR.Format(SR.UDSConnectErrorWithTimeSpan, remoteUri.AbsoluteUri, (int)socketException.SocketErrorCode, socketException.Message, timeSpent), innerException);