C# Class Yort.Ntp.NtpNetworkException

Inheritance: System.Exception
Mostrar archivo Open project: Yortw/Yort.Ntp

Public Methods

Method 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.

Protected Methods

Method Description
NtpNetworkException ( System info, System context ) : System

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

Method Details

GetObjectData() public method

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.
return void

NtpNetworkException() public method

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

NtpNetworkException() protected method

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.
return System

NtpNetworkException() public method

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.
return System

NtpNetworkException() public method

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.
return System

NtpNetworkException() public method

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.
return System

NtpNetworkException() public method

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.
return System