共用方式為


ServiceError Constructors

Definition

Overloads

ServiceError()

Initializes a new instance of the ServiceError class.

ServiceError(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, IList<ServiceErrorDetail>)

Initializes a new instance of the ServiceError class.

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

Parameters

code
String

The error code.

message
String

The error message text.

details
IList<ServiceErrorDetail>

The list of error details.

Applies to