C# Класс Yort.Ntp.NtpNetworkException

Наследование: System.Exception
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
NtpNetworkException ( System info, System context ) : System

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

Описание методов

GetObjectData() публичный Метод

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.
Результат void

NtpNetworkException() публичный Метод

Default constructor, required by framework. Not recommended for use.
public NtpNetworkException ( ) : System
Результат System

NtpNetworkException() защищенный Метод

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.
Результат System

NtpNetworkException() публичный Метод

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.
Результат System

NtpNetworkException() публичный Метод

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.
Результат System

NtpNetworkException() публичный Метод

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.
Результат System

NtpNetworkException() публичный Метод

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.
Результат System