Share via


Error Constructors

Definition

Overloads

Error()

Initializes a new instance of the Error class.

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

Initializes a new instance of the Error class.

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

Parameters

code
String

Error code.

message
String

Error message.

target
String

Error target.

details
IList<ErrorDetails>

Error details.

innerError
String

Inner error message.

Applies to