Sdílet prostřednictvím


MsalManagedIdentityException Constructors

Definition

Overloads

MsalManagedIdentityException(String, String, ManagedIdentitySource)

Initializes a new instance of the exception class with a specified error code, error message and inner exception indicating the root cause.

MsalManagedIdentityException(String, String, ManagedIdentitySource, Int32)

Initializes a new instance of the exception class with a specified error code, error message and inner exception indicating the root cause.

MsalManagedIdentityException(String, String, Exception, ManagedIdentitySource)

Initializes a new instance of the exception class with a specified error code, error message and managed identity source.

MsalManagedIdentityException(String, String, Exception, ManagedIdentitySource, Int32)

Initializes a new instance of the exception class with a specified error code, error message and managed identity source.

MsalManagedIdentityException(String, String, ManagedIdentitySource)

Initializes a new instance of the exception class with a specified error code, error message and inner exception indicating the root cause.

public MsalManagedIdentityException (string errorCode, string errorMessage, Microsoft.Identity.Client.ManagedIdentity.ManagedIdentitySource source);
new Microsoft.Identity.Client.MsalManagedIdentityException : string * string * Microsoft.Identity.Client.ManagedIdentity.ManagedIdentitySource -> Microsoft.Identity.Client.MsalManagedIdentityException
Public Sub New (errorCode As String, errorMessage As String, source As ManagedIdentitySource)

Parameters

errorCode
String

The error code returned by the service or generated by the client. This is the code you can rely on for exception handling.

errorMessage
String

The error message that explains the reason for the exception.

source
ManagedIdentitySource

Specifies the managed identity source from which the exception initiates.

Applies to

MsalManagedIdentityException(String, String, ManagedIdentitySource, Int32)

Initializes a new instance of the exception class with a specified error code, error message and inner exception indicating the root cause.

public MsalManagedIdentityException (string errorCode, string errorMessage, Microsoft.Identity.Client.ManagedIdentity.ManagedIdentitySource source, int statusCode);
new Microsoft.Identity.Client.MsalManagedIdentityException : string * string * Microsoft.Identity.Client.ManagedIdentity.ManagedIdentitySource * int -> Microsoft.Identity.Client.MsalManagedIdentityException
Public Sub New (errorCode As String, errorMessage As String, source As ManagedIdentitySource, statusCode As Integer)

Parameters

errorCode
String

The error code returned by the service or generated by the client. This is the code you can rely on for exception handling.

errorMessage
String

The error message that explains the reason for the exception.

source
ManagedIdentitySource

Specifies the managed identity source from which the exception initiates.

statusCode
Int32

The status code of the response.

Applies to

MsalManagedIdentityException(String, String, Exception, ManagedIdentitySource)

Initializes a new instance of the exception class with a specified error code, error message and managed identity source.

public MsalManagedIdentityException (string errorCode, string errorMessage, Exception innerException, Microsoft.Identity.Client.ManagedIdentity.ManagedIdentitySource source);
new Microsoft.Identity.Client.MsalManagedIdentityException : string * string * Exception * Microsoft.Identity.Client.ManagedIdentity.ManagedIdentitySource -> Microsoft.Identity.Client.MsalManagedIdentityException
Public Sub New (errorCode As String, errorMessage As String, innerException As Exception, source As ManagedIdentitySource)

Parameters

errorCode
String

The error code returned by the service or generated by the client. This is the code you can rely on for exception handling.

errorMessage
String

The error message that explains the reason for the exception.

innerException
Exception

Represents the root cause of the exception.

source
ManagedIdentitySource

Specifies the managed identity source from which the exception initiates.

Applies to

MsalManagedIdentityException(String, String, Exception, ManagedIdentitySource, Int32)

Initializes a new instance of the exception class with a specified error code, error message and managed identity source.

public MsalManagedIdentityException (string errorCode, string errorMessage, Exception innerException, Microsoft.Identity.Client.ManagedIdentity.ManagedIdentitySource source, int statusCode);
new Microsoft.Identity.Client.MsalManagedIdentityException : string * string * Exception * Microsoft.Identity.Client.ManagedIdentity.ManagedIdentitySource * int -> Microsoft.Identity.Client.MsalManagedIdentityException
Public Sub New (errorCode As String, errorMessage As String, innerException As Exception, source As ManagedIdentitySource, statusCode As Integer)

Parameters

errorCode
String

The error code returned by the service or generated by the client. This is the code you can rely on for exception handling.

errorMessage
String

The error message that explains the reason for the exception.

innerException
Exception

Represents the root cause of the exception.

source
ManagedIdentitySource

Specifies the managed identity source from which the exception initiates.

statusCode
Int32

The status code of the response.

Applies to