Share via


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