ErrorDefinition Constructors

Definition

Overloads

ErrorDefinition()

Initializes a new instance of the ErrorDefinition class.

ErrorDefinition(String, String, String, IList<ErrorDefinition>, IList<TypedErrorInfo>)

Initializes a new instance of the ErrorDefinition class.

ErrorDefinition()

Initializes a new instance of the ErrorDefinition class.

public ErrorDefinition ();
Public Sub New ()

Applies to

ErrorDefinition(String, String, String, IList<ErrorDefinition>, IList<TypedErrorInfo>)

Initializes a new instance of the ErrorDefinition class.

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

Parameters

code
String

Service specific error code which serves as the substatus for the HTTP error code.

message
String

Description of the error.

target
String

The target of the error.

details
IList<ErrorDefinition>

Internal error details.

additionalInfo
IList<TypedErrorInfo>

Additional scenario specific error details.

Applies to