Table of Contents

Class FacebookOAuthException

Namespace
Facebook
Assembly
Facebook.dll

Represents errors that occur as a result of problems with the OAuth access token.

public class FacebookOAuthException : FacebookApiException, ISerializable
Inheritance
FacebookOAuthException
Implements
Inherited Members

Constructors

FacebookOAuthException()

Initializes a new instance of the FacebookOAuthException class.

public FacebookOAuthException()

FacebookOAuthException(SerializationInfo, StreamingContext)

Initializes a new instance of the FacebookOAuthException class.

protected FacebookOAuthException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Exceptions

ArgumentNullException

The info parameter is null.

SerializationException

The class name is null or HResult is zero (0).

FacebookOAuthException(string)

Initializes a new instance of the FacebookOAuthException class.

public FacebookOAuthException(string message)

Parameters

message string

The message.

FacebookOAuthException(string, Exception)

Initializes a new instance of the FacebookOAuthException class.

public FacebookOAuthException(string message, Exception innerException)

Parameters

message string

The message.

innerException Exception

The inner exception.

FacebookOAuthException(string, string)

Initializes a new instance of the FacebookOAuthException class.

public FacebookOAuthException(string message, string errorType)

Parameters

message string

The message.

errorType string

The error type.

FacebookOAuthException(string, string, int)

Initializes a new instance of the FacebookOAuthException class.

public FacebookOAuthException(string message, string errorType, int errorCode)

Parameters

message string

The message.

errorType string

Type of the error.

errorCode int

Code of the error.

FacebookOAuthException(string, string, int, int)

Initializes a new instance of the FacebookOAuthException class.

public FacebookOAuthException(string message, string errorType, int errorCode, int errorSubcode)

Parameters

message string

The message.

errorType string

Type of the error.

errorCode int

Code of the error.

errorSubcode int

Subcode of the error.