Share via


OperationResultError Constructors

Definition

Overloads

OperationResultError()

Initializes a new instance of the OperationResultError class.

OperationResultError(String, String)

Initializes a new instance of the OperationResultError class.

OperationResultError()

Initializes a new instance of the OperationResultError class.

public OperationResultError ();
Public Sub New ()

Applies to

OperationResultError(String, String)

Initializes a new instance of the OperationResultError class.

public OperationResultError (string code = default, string message = default);
new Microsoft.Azure.Management.Reservations.Models.OperationResultError : string * string -> Microsoft.Azure.Management.Reservations.Models.OperationResultError
Public Sub New (Optional code As String = Nothing, Optional message As String = Nothing)

Parameters

code
String

Required if status == failed or status == cancelled. If status == failed, provide an invariant error code used for error troubleshooting, aggregation, and analysis.

message
String

Required if status == failed. Localized. If status == failed, provide an actionable error message indicating what error occurred, and what the user can do to address the issue.

Applies to