Share via


ErrorDetails Class

Definition

The details of the error.

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

Constructors

ErrorDetails()

Creates an new ErrorDetails instance.

Properties

Code

Error code.

Message

Error message indicating why the operation failed.

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.CostManagement.Models.Api20211001.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.

Explicit Interface Implementations

IErrorDetailsInternal.Code

Internal Acessors for Code

IErrorDetailsInternal.Message

Internal Acessors for Message

Applies to