AuthenticationException Class

Definition

The exception that is thrown when authentication fails.

public ref class AuthenticationException sealed : Microsoft::Xrm::Sdk::SdkExceptionBase
[System.Serializable]
public sealed class AuthenticationException : Microsoft.Xrm.Sdk.SdkExceptionBase
[<System.Serializable>]
type AuthenticationException = class
    inherit SdkExceptionBase
Public NotInheritable Class AuthenticationException
Inherits SdkExceptionBase
Inheritance
AuthenticationException
Attributes

Constructors

AuthenticationException(Exception)

Initializes a new instance of the AuthenticationException class with the specified inner exception.

AuthenticationException(String)

Initializes a new instance of the AuthenticationException class with the specified error message.

AuthenticationException(String, Exception)

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

Applies to