C# Class TeamSpeak3QueryApi.Net.QueryException

Inheritance: System.Exception
Show file Open project: nikeee/TeamSpeak3QueryAPI

Public Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.

QueryException ( QueryError error ) : System

Initializes a new instance of the T:TeamSpeak3QueryApi.Net.QueryException class with a specified error returned by the Query API.

QueryException ( string message ) : System

Initializes a new instance of the T:TeamSpeak3QueryApi.Net.QueryException class with a specified error message.

QueryException ( string message, Exception innerException ) : System

Initializes a new instance of the T:TeamSpeak3QueryApi.Net.QueryException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Protected Methods

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

Initializes a new instance of the T:TeamSpeak3QueryApi.Net.QueryException class with serialized data.

Method Details

GetObjectData() public method

When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.
The info parameter is a null reference (Nothing in Visual Basic).
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
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 void

QueryException() public method

Initializes a new instance of the T:TeamSpeak3QueryApi.Net.QueryException class with a specified error returned by the Query API.
public QueryException ( QueryError error ) : System
error QueryError The that was returned by the Query API.
return System

QueryException() protected method

Initializes a new instance of the T:TeamSpeak3QueryApi.Net.QueryException class with serialized data.
protected QueryException ( 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

QueryException() public method

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

QueryException() public method

Initializes a new instance of the T:TeamSpeak3QueryApi.Net.QueryException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public QueryException ( 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, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
return System