C# Class System.Net.Sockets.SocketException

Inheritance: System.ComponentModel.Win32Exception
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
SocketException ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : System.ComponentModel

Private Methods

Méthode 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 méthode

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

SocketException() protected méthode

protected SocketException ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : System.ComponentModel
serializationInfo System.Runtime.Serialization.SerializationInfo
streamingContext System.Runtime.Serialization.StreamingContext
Résultat System.ComponentModel

SocketException() public méthode

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