C# Class NSoft.NFramework.Networks.NetworkException

Inheritance: System.InvalidOperationException
显示文件 Open project: debop/NFramework

Public Methods

Method Description
NetworkException ( ) : System

Initializes a new instance of the NSoft.NFramework.Networks.NetworkException class

NetworkException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the NSoft.NFramework.Networks.NetworkException class with serialized data.

NetworkException ( string message ) : System

Initializes a new instance of the NSoft.NFramework.Networks.NetworkException class with a specified error message.

NetworkException ( string message, Exception innerException ) : System

Initializes a new instance of the NSoft.NFramework.Networks.NetworkException class with a specified error message and a reference to the inner exception that is the cause of this exception

Method Details

NetworkException() public method

Initializes a new instance of the NSoft.NFramework.Networks.NetworkException class
public NetworkException ( ) : System
return System

NetworkException() public method

Initializes a new instance of the NSoft.NFramework.Networks.NetworkException class with serialized data.
public NetworkException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The object that holds the serialized object data.
context System.Runtime.Serialization.StreamingContext The contextual information about the source or destination.
return System

NetworkException() public method

Initializes a new instance of the NSoft.NFramework.Networks.NetworkException class with a specified error message.
public NetworkException ( string message ) : System
message string error message
return System

NetworkException() public method

Initializes a new instance of the NSoft.NFramework.Networks.NetworkException class with a specified error message and a reference to the inner exception that is the cause of this exception
public NetworkException ( string message, Exception innerException ) : System
message string The error message that explains the reason for the exception.
innerException System.Exception /// The exception that is the cause of the current exception. /// If the innerException parameter is not a null reference, /// the current exception is raised in a catch block that handles the inner exception. ///
return System