ServiceError Constructors

Definition

Overloads

ServiceError()

Initializes a new instance of the ServiceError class.

ServiceError(String, String, String, IList<ServiceErrorDetail>)

Initializes a new instance of the ServiceError class.

ServiceError()

Initializes a new instance of the ServiceError class.

public ServiceError ();
Public Sub New ()

Applies to

ServiceError(String, String, String, IList<ServiceErrorDetail>)

Initializes a new instance of the ServiceError class.

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

Parameters

code
String

The error code.

message
String

The error message.

target
String

The target of the error.

details
IList<ServiceErrorDetail>

The list of error details.

Applies to