Share via


Error Constructors

Definition

Overloads

Error()

Initializes a new instance of the Error class.

Error(String, String, Error)

Initializes a new instance of the Error class.

Error()

Initializes a new instance of the Error class.

public Error ();
Public Sub New ()

Applies to

Error(String, String, Error)

Initializes a new instance of the Error class.

public Error (string code = default, string message = default, Microsoft.Azure.Management.KeyVault.Models.Error innerError = default);
new Microsoft.Azure.Management.KeyVault.Models.Error : string * string * Microsoft.Azure.Management.KeyVault.Models.Error -> Microsoft.Azure.Management.KeyVault.Models.Error
Public Sub New (Optional code As String = Nothing, Optional message As String = Nothing, Optional innerError As Error = Nothing)

Parameters

code
String

The error code.

message
String

The error message.

innerError
Error

The inner error, contains a more specific error code.

Applies to