你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ProviderError Class

Definition

This class contains the error details per object.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.ProviderErrorTypeConverter))]
public class ProviderError : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IProviderError
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.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.Api202301.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