C# Class System.Net.Sockets.SocketException

Inheritance: System.ComponentModel.Win32Exception
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
SocketException ( ) : System.ComponentModel

Creates a new instance of the class with the default error code.

SocketException ( int errorCode ) : System.ComponentModel

Creates a new instance of the class with the specified error code.

Protected Methods

Method Description
SocketException ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : System.ComponentModel

Private Methods

Method Description
GetNativeErrorForSocketError ( SocketError error ) : int
SocketException ( Interop error ) : System.ComponentModel
SocketException ( SocketError socketError ) : System.ComponentModel

Creates a new instance of the class with the specified error code as SocketError.

SocketException ( SocketError errorCode, uint platformError ) : System.ComponentModel

Method Details

SocketException() public method

Creates a new instance of the class with the default error code.
public SocketException ( ) : System.ComponentModel
return System.ComponentModel

SocketException() protected method

protected SocketException ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : System.ComponentModel
serializationInfo System.Runtime.Serialization.SerializationInfo
streamingContext System.Runtime.Serialization.StreamingContext
return System.ComponentModel

SocketException() public method

Creates a new instance of the class with the specified error code.
public SocketException ( int errorCode ) : System.ComponentModel
errorCode int
return System.ComponentModel