Share via


ErrorDetails Class

Definition

Common error details representation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Monitors.Models.Api20230401.ErrorDetailsTypeConverter))]
public class ErrorDetails : Microsoft.Azure.PowerShell.Cmdlets.Workloads.Monitors.Models.Api20230401.IErrorDetails
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Monitors.Models.Api20230401.ErrorDetailsTypeConverter))>]
type ErrorDetails = class
    interface IErrorDetails
    interface IJsonSerializable
Public Class ErrorDetails
Implements IErrorDetails
Inheritance
ErrorDetails
Attributes
Implements

Constructors

ErrorDetails()

Creates an new ErrorDetails instance.

Properties

Code

Error code.

Message

Error message.

Target

Error target.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ErrorDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ErrorDetails.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Workloads.Monitors.Models.Api20230401.IErrorDetails.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ErrorDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to