Aracılığıyla paylaş


OperationResultError Class

Definition

Required if status == failed or status == canceled.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.OperationResultErrorTypeConverter))]
public class OperationResultError : Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.IOperationResultError
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.OperationResultErrorTypeConverter))>]
type OperationResultError = class
    interface IOperationResultError
    interface IJsonSerializable
Public Class OperationResultError
Implements IOperationResultError
Inheritance
OperationResultError
Attributes
Implements

Constructors

OperationResultError()

Creates an new OperationResultError instance.

Properties

Code

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

Message

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OperationResultError.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OperationResultError.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.IOperationResultError.

FromJsonString(String)

Creates a new instance of OperationResultError, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of OperationResultError into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to