Share via


Error Constructors

Definition

Overloads

Error()

Initializes a new instance of the Error class.

Error(IList<ErrorAdditionalInfo>, String, IList<Error>, String, String)

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(IList<ErrorAdditionalInfo>, String, IList<Error>, String, String)

Initializes a new instance of the Error class.

public Error (System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Models.ErrorAdditionalInfo> additionalInfo = default, string code = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Models.Error> details = default, string message = default, string target = default);
new Microsoft.Azure.Management.RecoveryServices.Models.Error : System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Models.ErrorAdditionalInfo> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Models.Error> * string * string -> Microsoft.Azure.Management.RecoveryServices.Models.Error
Public Sub New (Optional additionalInfo As IList(Of ErrorAdditionalInfo) = Nothing, Optional code As String = Nothing, Optional details As IList(Of Error) = Nothing, Optional message As String = Nothing, Optional target As String = Nothing)

Parameters

additionalInfo
IList<ErrorAdditionalInfo>

The error additional info.

code
String

The error code.

details
IList<Error>

The error details.

message
String

The error message.

target
String

The error target.

Applies to