Share via


ApiErrorException Constructors

Definition

Overloads

ApiErrorException()

Initializes a new instance of the ApiErrorException class.

ApiErrorException(String)

Initializes a new instance of the ApiErrorException class.

ApiErrorException(String, Exception)

Initializes a new instance of the ApiErrorException 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 ApiErrorException class.

public ApiErrorException (string message);
new Microsoft.Azure.Management.DataBox.Models.ApiErrorException : string -> Microsoft.Azure.Management.DataBox.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 ApiErrorException class.

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

Parameters

message
String

The exception message.

innerException
Exception

Inner exception.

Applies to