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

ErrorDefinition Class

Definition

Error definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Portal.Models.Api201901Preview.ErrorDefinitionTypeConverter))]
public class ErrorDefinition : Microsoft.Azure.PowerShell.Cmdlets.Portal.Models.Api201901Preview.IErrorDefinition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Portal.Models.Api201901Preview.ErrorDefinitionTypeConverter))>]
type ErrorDefinition = class
    interface IErrorDefinition
    interface IJsonSerializable
Public Class ErrorDefinition
Implements IErrorDefinition
Inheritance
ErrorDefinition
Attributes
Implements

Constructors

ErrorDefinition()

Creates an new ErrorDefinition instance.

Properties

Code

Service specific error code which serves as the substatus for the HTTP error code.

Detail

Internal error details.

Message

Description of the error.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ErrorDefinition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ErrorDefinition.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Portal.Models.Api201901Preview.IErrorDefinition.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ErrorDefinition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to