System.Net.Sockets.SocketException.SocketException C# (CSharp) Метод

SocketException() приватный Метод

Creates a new instance of the class with the specified error code as SocketError.
private SocketException ( SocketError socketError ) : System.ComponentModel
socketError SocketError
Результат System.ComponentModel
        internal SocketException(SocketError socketError) : base(GetNativeErrorForSocketError(socketError))
        {
            if (NetEventSource.IsEnabled) NetEventSource.Enter(this, socketError, Message);
            _errorCode = socketError;
        }

Same methods

SocketException::SocketException ( ) : System.ComponentModel
SocketException::SocketException ( Interop error ) : System.ComponentModel
SocketException::SocketException ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : System.ComponentModel
SocketException::SocketException ( SocketError errorCode, uint platformError ) : System.ComponentModel
SocketException::SocketException ( int errorCode ) : System.ComponentModel