ErrorDefinition Class

Definition

The error response indicating why the incoming request wasn’t able to be processed

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.ErrorDefinitionTypeConverter))]
public class ErrorDefinition : Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IErrorDefinition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.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

The error code.

Detail

The internal error details.

Message

The error message indicating why the operation failed.

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.ManagedServices.Models.Api20200201Preview.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.

ToString()

Applies to