C# Class Yort.Ntp.NtpNetworkException

Inheritance: System.Exception
Afficher le fichier Open project: Yortw/Yort.Ntp

Méthodes publiques

Méthode Description
GetObjectData ( System info, System context ) : void

Serialises this object instance.

NtpNetworkException ( ) : System

Default constructor, required by framework. Not recommended for use.

NtpNetworkException ( string message ) : System

Partial constructor. Provides only a text based description of the error.

NtpNetworkException ( string message, Exception inner ) : System

Partial constructor, recommended. Provides an error message, a socket error code and a reference to the original exception.

NtpNetworkException ( string message, int socketErrorCode ) : System

Partial constructor, recommended. Provides an error message and a socket error code.

NtpNetworkException ( string message, int socketErrorCode, Exception inner ) : System

Partial constructor, recommended. Provides an error message and a socket error code.

Méthodes protégées

Méthode Description
NtpNetworkException ( System info, System context ) : System

Constructor required for serialisation purposes. Not recommended for direct use.

Method Details

GetObjectData() public méthode

Serialises this object instance.
public GetObjectData ( System info, System context ) : void
info System A instance used to serialise the object.
context System A instance used to serialise the object.
Résultat void

NtpNetworkException() public méthode

Default constructor, required by framework. Not recommended for use.
public NtpNetworkException ( ) : System
Résultat System

NtpNetworkException() protected méthode

Constructor required for serialisation purposes. Not recommended for direct use.
protected NtpNetworkException ( System info, System context ) : System
info System A instance used to deserialise the object.
context System A instance used to deserialise the object.
Résultat System

NtpNetworkException() public méthode

Partial constructor. Provides only a text based description of the error.
public NtpNetworkException ( string message ) : System
message string The human readable error message describing the network error.
Résultat System

NtpNetworkException() public méthode

Partial constructor, recommended. Provides an error message, a socket error code and a reference to the original exception.
public NtpNetworkException ( string message, Exception inner ) : System
message string The human readable error message describing the network error.
inner System.Exception The original exception that is wrapped by this exception.
Résultat System

NtpNetworkException() public méthode

Partial constructor, recommended. Provides an error message and a socket error code.
public NtpNetworkException ( string message, int socketErrorCode ) : System
message string The human readable error message describing the network error.
socketErrorCode int An integer specifying a socket error.
Résultat System

NtpNetworkException() public méthode

Partial constructor, recommended. Provides an error message and a socket error code.
public NtpNetworkException ( string message, int socketErrorCode, Exception inner ) : System
message string The human readable error message describing the network error.
socketErrorCode int An integer specifying a socket error.
inner System.Exception The original exception that is wrapped by this exception.
Résultat System