C# Class Glipho.OAuth.OAuthException

Represents errors that occur during social network execution.
Inheritance: System.Exception
Show file Open project: Glipho/oauth-providers

Public Methods

Method Description
OAuthException ( ErrorCode errorCode ) : System

Initialises a new instance of the OAuthException class.

OAuthException ( SerializationInfo info, StreamingContext context, ErrorCode errorCode ) : System

Initialises a new instance of the OAuthException class with serialized data.

OAuthException ( string message, ErrorCode errorCode ) : System

Initialises a new instance of the OAuthException class with a specified error message.

OAuthException ( string message, Exception innerException, ErrorCode errorCode ) : System

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

Method Details

OAuthException() public method

Initialises a new instance of the OAuthException class.
public OAuthException ( ErrorCode errorCode ) : System
errorCode ErrorCode The code of the error that being thrown.
return System

OAuthException() public method

Initialises a new instance of the OAuthException class with serialized data.
/// The info parameter is null. /// /// The class name is null or is zero (0). ///
public OAuthException ( SerializationInfo info, StreamingContext context, ErrorCode errorCode ) : 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. ///
errorCode ErrorCode The code of the error that being thrown.
return System

OAuthException() public method

Initialises a new instance of the OAuthException class with a specified error message.
public OAuthException ( string message, ErrorCode errorCode ) : System
message string The message that describes the error.
errorCode ErrorCode The code of the error that being thrown.
return System

OAuthException() public method

Initialises a new instance of the OAuthException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public OAuthException ( string message, Exception innerException, ErrorCode errorCode ) : 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. ///
errorCode ErrorCode The code of the error that being thrown.
return System