Partager via


ApiErrorException Constructors

Definition

Overloads

ApiErrorException()

Initializes a new instance of the ApiErrorException class.

ApiErrorException(String)

Initializes a new instance of the ApiError class.

ApiErrorException(String, Exception)

Initializes a new instance of the ApiError class.

ApiErrorException()

Initializes a new instance of the ApiErrorException class.

public ApiErrorException ();
Public Sub New ()

Applies to

ApiErrorException(String)

Initializes a new instance of the ApiError class.

public ApiErrorException (string message);
new Microsoft.Azure.Management.DataMigration.Models.ApiErrorException : string -> Microsoft.Azure.Management.DataMigration.Models.ApiErrorException
Public Sub New (message As String)

Parameters

message
String

The exception message.

Applies to

ApiErrorException(String, Exception)

Initializes a new instance of the ApiError class.

public ApiErrorException (string message, Exception innerException);
new Microsoft.Azure.Management.DataMigration.Models.ApiErrorException : string * Exception -> Microsoft.Azure.Management.DataMigration.Models.ApiErrorException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The exception message.

innerException
Exception

Inner exception.

Applies to