C# 클래스 Yort.Ntp.NtpNetworkException

상속: System.Exception
파일 보기 프로젝트 열기: Yortw/Yort.Ntp

공개 메소드들

메소드 설명
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