Class FacebookOAuthException
- Namespace
- 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
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe 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
stringThe message.
FacebookOAuthException(string, Exception)
Initializes a new instance of the FacebookOAuthException class.
public FacebookOAuthException(string message, Exception innerException)
Parameters
FacebookOAuthException(string, string)
Initializes a new instance of the FacebookOAuthException class.
public FacebookOAuthException(string message, string errorType)
Parameters
FacebookOAuthException(string, string, int)
Initializes a new instance of the FacebookOAuthException class.
public FacebookOAuthException(string message, string errorType, int errorCode)
Parameters
FacebookOAuthException(string, string, int, int)
Initializes a new instance of the FacebookOAuthException class.
public FacebookOAuthException(string message, string errorType, int errorCode, int errorSubcode)