Class OAuth2Exception
Exception when error occurs during oauth2 flow.
Inheritance
System.Object
System.Exception
OAuth2Exception
Implements
System.Runtime.InteropServices._Exception
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Dropbox.Api
Assembly: Dropbox.Api.dll
Syntax
public sealed class OAuth2Exception : Exception, _Exception, ISerializable
Constructors
| Improve this Doc View SourceOAuth2Exception(String, String)
Initializes a new instance of the OAuth2Exception class.
Declaration
public OAuth2Exception(string message, string errorDescription = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.String | errorDescription | The error description. |
Properties
| Improve this Doc View SourceErrorDescription
Gets the error description.
Declaration
public string ErrorDescription { get; }
Property Value
Type | Description |
---|---|
System.String |
Implements
System.Runtime.InteropServices._Exception
System.Runtime.Serialization.ISerializable