C# Class MsgPack.MessageTypeException

Inheritance: System.Exception
Exibir arquivo Open project: msgpack/msgpack-cli

Public Methods

Method Description
MessageTypeException ( ) : System

Initializes a new instance of the MessageTypeException class with the default error message.

MessageTypeException ( string message ) : System

Initializes a new instance of the MessageTypeException class with a specified error message.

MessageTypeException ( string message, Exception inner ) : System

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

Protected Methods

Method Description
MessageTypeException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the MessageTypeException class with serialized data.

Method Details

MessageTypeException() public method

Initializes a new instance of the MessageTypeException class with the default error message.
public MessageTypeException ( ) : System
return System

MessageTypeException() protected method

Initializes a new instance of the MessageTypeException class with serialized data.
/// The parameter is null. /// /// The class name is null or is zero (0). ///
protected MessageTypeException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo /// The that holds the serialized object data about the exception being thrown. ///
context System.Runtime.Serialization.StreamingContext /// The that contains contextual information about the source or destination.
return System

MessageTypeException() public method

Initializes a new instance of the MessageTypeException class with a specified error message.
public MessageTypeException ( string message ) : System
message string The message that describes the error.
return System

MessageTypeException() public method

Initializes a new instance of the MessageTypeException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public MessageTypeException ( string message, Exception inner ) : System
message string The error message that explains the reason for the exception.
inner System.Exception /// The exception that is the cause of the current exception, or a null if no inner exception is specified. ///
return System