51 references to SR
System.ServiceModel.UnixDomainSocket (51)
System\ServiceModel\Channels\SocketConnection.cs (38)
160throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(buffer.Length), buffer.Length, SR.ValueMustBeNonNegative)); 243throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(buffer.Length), buffer.Length, SR.ValueMustBePositive)); 341new CommunicationException(SR.Format(SR.SocketCloseReadReceivedData, _socket.RemoteEndPoint))); 347SR.Format(SR.SocketCloseReadTimeout, _socket.RemoteEndPoint, _readFinTimeout), timeoutException)); 479GetType().ToString(), SR.SocketConnectionDisposed), TransferOperation.Undefined)); 489GetType().ToString(), SR.SocketConnectionDisposed), TransferOperation.Undefined)); 498new TimeoutException(SR.Format(SR.UDSConnectionTimedOut, timeout))); 549new TimeoutException(SR.Format(SR.UDSConnectionTimedOut, timeout))); 604thisPtr.Abort(SR.Format(SR.SocketAbortedReceiveTimedOut, thisPtr._asyncReceiveTimeout), TransferOperation.Read); 613thisPtr.Abort(TraceEventType.Warning, SR.Format(SR.SocketAbortedSendTimedOut, thisPtr._asyncSendTimeout), TransferOperation.Write); 625return new CommunicationObjectAbortedException(SR.SocketConnectionDisposed, originalException); 663TimeoutException timeoutException = new TimeoutException(SR.Format(SR.UDSConnectionTimedOut, timeout), originalException); 673return new CommunicationObjectAbortedException(SR.UDSLocalConnectionAborted, originalException); 677CommunicationException communicationException = new CommunicationException(SR.Format(SR.UDSConnectionResetError, timeout), originalException); 683TimeoutException timeoutException = new TimeoutException(SR.Format(SR.UDSConnectionTimedOut, timeout), originalException); 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); 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); 816return new InsufficientMemoryException(SR.UDSConnectNoBufs, innerException); 822return new InsufficientMemoryException(SR.InsufficentMemory, socketException); 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);
System\ServiceModel\Channels\UnixDomainSocketConnectionPoolSettings.cs (5)
48SR.SFxTimeoutOutOfRange0)); 54SR.SFxTimeoutOutOfRangeTooBig)); 69SR.SFxTimeoutOutOfRange0)); 75SR.SFxTimeoutOutOfRangeTooBig)); 90SR.ValueMustBeNonNegative));
System\ServiceModel\Channels\UnixDomainSocketTransportBindingElement.cs (3)
47new PlatformNotSupportedException(SR.ExtendedProtectionNotSupported)); 68throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("TChannel", SR.Format(SR.ChannelTypeNotSupported, typeof(TChannel)));
System\ServiceModel\UnixDomainSocketSecurity.cs (2)
63throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.Format(SR.UnsupportedSecuritySetting, "Mode", _mode)));
System\ServiceModel\UnixDomainSocketTransportSecurity.cs (3)
78new PlatformNotSupportedException(SR.ExtendedProtectionNotSupported)); 99throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.Format( 100SR.UnsupportedSslProtectionLevel, _protectionLevel)));