Class OAuthException
A generic OAuthException to be serialized to json for correct oauth handling
Inheritance
System.Object
System.Exception
OAuthException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: ImageVault.Common.Security.OAuth
Assembly: ImageVault.Common.dll
Syntax
public class OAuthException : Exception, ISerializable, _Exception
Constructors
OAuthException(String, String)
Initializes a new instance of the OAuthException class.
Declaration
public OAuthException(string errorCode, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorCode | |
System.String | message |
Properties
OAuthErrorData
Get/Sets the OAuthErrorData of the OAuthException
Declaration
public OAuthErrorData OAuthErrorData { get; set; }
Property Value
Type | Description |
---|---|
OAuthErrorData |
Methods
ToJsonResponse()
Declaration
public string ToJsonResponse()
Returns
Type | Description |
---|---|
System.String |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception