次の方法で共有


ServiceError Class

Definition

ASR error model.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.ServiceErrorTypeConverter))]
public class ServiceError : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IServiceError
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.ServiceErrorTypeConverter))>]
type ServiceError = class
    interface IServiceError
    interface IJsonSerializable
Public Class ServiceError
Implements IServiceError
Inheritance
ServiceError
Attributes
Implements

Constructors

ServiceError()

Creates an new ServiceError instance.

Properties

ActivityId

Activity Id.

Code

Error code.

Message

Error message.

PossibleCaus

Possible causes of error.

RecommendedAction

Recommended action to resolve error.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ServiceError.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ServiceError.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IServiceError.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ServiceError into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to