AuthorizationFailedException Class

Definition

The exception that occurs when an authorization attempt fails.

public class AuthorizationFailedException : Exception
Inheritance
AuthorizationFailedException

Properties

Error<wbr>Code

Gets or sets the error code that describes the cause of authorization attempt failure.

Methods

Get<wbr>Object<wbr>Data(Serialization<wbr>Info, Streaming<wbr>Context)

Populates a SerializationInfo object with the data needed to serialize the target object.

Extension Methods

CheckIotHubErrorCode(Exception, ErrorCode[])
DisablePrepareForRethrow(Exception)
GetReferenceCode(Exception)
IsFatal(Exception)
PrepareForRethrow(Exception)
ToStringSlim(Exception)
Unwind(Exception)
Unwind(Exception, Type[])
Unwind<TException>(Exception)
IsWrappedExceptionTransient(Exception)
FindInnerException<T>(Exception)