Udostępnij za pośrednictwem


ErrorDetail Class

Definition

The error detail that describes why an operation has failed.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.ErrorDetailTypeConverter))]
public class ErrorDetail : Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.IErrorDetail
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.ErrorDetailTypeConverter))>]
type ErrorDetail = class
    interface IErrorDetail
    interface IJsonSerializable
Public Class ErrorDetail
Implements IErrorDetail
Inheritance
ErrorDetail
Attributes
Implements

Constructors

ErrorDetail()

Creates an new ErrorDetail instance.

Properties

Code

The error code.

Message

The error message.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ErrorDetail.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ErrorDetail.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.IErrorDetail.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ErrorDetail into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to