AdalServiceException Class

Definition

The exception type thrown when user returned by service does not match user in the request.

public class AdalServiceException : Microsoft.IdentityModel.Clients.ActiveDirectory.AdalException
Inheritance
AdalServiceException
Derived

Inherited Members

Microsoft.IdentityModel.Clients.ActiveDirectory.AdalException

Constructors

AdalServiceException(String, String)

Initializes a new instance of the exception class with a specified error code and error message.

Properties

ServiceErrorCodes

Gets the specific error codes that may be returned by the service.

StatusCode

Gets the status code returned from http layer. This status code is either the HttpStatusCode in the inner HttpRequestException response or NavigateError Event Status Code in browser based flow (See http://msdn.microsoft.com/en-us/library/bb268233(v=vs.85).aspx). You can use this code for purposes such as implementing retry logic or error investigation.

Methods

ToString()

Creates and returns a string representation of the current exception.

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)