次の方法で共有


ProviderError Class

Definition

This class contains the error details per object.

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

Constructors

ProviderError()

Creates an new ProviderError instance.

Properties

ErrorCode

The Error code.

ErrorId

The Provider error Id.

ErrorMessage

The Error message.

PossibleCaus

The possible causes for the error.

RecommendedAction

The recommended action to resolve the error.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ProviderError.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ProviderError.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ProviderError into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to