Share via


OperationStatusError Class

Definition

Class for operation status errors.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.OperationStatusErrorTypeConverter))]
public class OperationStatusError : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IOperationStatusError
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.OperationStatusErrorTypeConverter))>]
type OperationStatusError = class
    interface IOperationStatusError
    interface IJsonSerializable
Public Class OperationStatusError
Implements IOperationStatusError
Inheritance
OperationStatusError
Attributes
Implements

Constructors

OperationStatusError()

Creates an new OperationStatusError instance.

Properties

Code

Error code.

Message

Error message.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OperationStatusError.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OperationStatusError.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IOperationStatusError.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of OperationStatusError into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to