Share via


AuthenticationException Constructors

Definition

Overloads

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.

AuthenticationException(Exception)

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

public:
 AuthenticationException(Exception ^ innerException);
public AuthenticationException (Exception innerException);
new Microsoft.Xrm.Sdk.Data.Exceptions.AuthenticationException : Exception -> Microsoft.Xrm.Sdk.Data.Exceptions.AuthenticationException
Public Sub New (innerException As Exception)

Parameters

innerException
Exception

The exception that is the cause of the current exception.

Applies to

AuthenticationException(String)

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

public:
 AuthenticationException(System::String ^ message);
public AuthenticationException (string message);
new Microsoft.Xrm.Sdk.Data.Exceptions.AuthenticationException : string -> Microsoft.Xrm.Sdk.Data.Exceptions.AuthenticationException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

AuthenticationException(String, Exception)

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

public:
 AuthenticationException(System::String ^ message, Exception ^ innerException);
public AuthenticationException (string message, Exception innerException);
new Microsoft.Xrm.Sdk.Data.Exceptions.AuthenticationException : string * Exception -> Microsoft.Xrm.Sdk.Data.Exceptions.AuthenticationException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message that describes the error.

innerException
Exception

>The exception that is the cause of the current exception.

Applies to