Skip to main content

AuthorizationFailedException

Namespace: Meshmakers.Octo.Sdk.ServiceClient.Authorization

Represents an exception thrown when authorization failed.

public class AuthorizationFailedException : Exception, ISerializable

Inheritance Object → Exception → AuthorizationFailedException
Implements ISerializable

Properties​

TargetSite​

public MethodBase TargetSite { get; }

Property Value​

MethodBase

Message​

public string Message { get; }

Property Value​

String

Data​

public IDictionary Data { get; }

Property Value​

IDictionary

InnerException​

public Exception InnerException { get; }

Property Value​

Exception

public string HelpLink { get; set; }

Property Value​

String

Source​

public string Source { get; set; }

Property Value​

String

HResult​

public int HResult { get; set; }

Property Value​

Int32

StackTrace​

public string StackTrace { get; }

Property Value​

String

Constructors​

AuthorizationFailedException(String)​

public AuthorizationFailedException(string message)

Parameters​

message String

AuthorizationFailedException(String, Exception)​

public AuthorizationFailedException(string message, Exception innerException)

Parameters​

message String

innerException Exception

Methods​

AuthenticationFailed(String, Exception)​

internal static Exception AuthenticationFailed(string responseError, Exception responseException)

Parameters​

responseError String

responseException Exception

Returns​

Exception