Search Results for

    Show / Hide Table of Contents

    Class OAuthException

    A generic OAuthException to be serialized to json for correct oauth handling

    Inheritance
    System.Object
    System.Exception
    OAuthException
    OAuthInvalidClientException
    OAuthInvalidGrantException
    OAuthInvalidRequestException
    OAuthUnsupportedGrantTypeException
    OAuthUnsupportedResponseTypeException
    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

    Extension Methods

    LicenseExtensions.IsLicenseException(Exception)
    EnumExtensions.GetNames<TEnum>(TEnum)
    ExceptionExtensions.ToSimpleExceptionString(Exception)
    ExceptionExtensions.ToFullExceptionString(Exception)
    ExceptionExtensions.FindException<T>(Exception)
    ExceptionExtensions.FindSqlError(Exception, Int32)
    In This Article
    Back to top (c) Meriworks 2002-2022