Delen via


ApiErrorBase Class

Definition

Api error base.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.ApiErrorBaseTypeConverter))]
public class ApiErrorBase : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.IApiErrorBase
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.ApiErrorBaseTypeConverter))>]
type ApiErrorBase = class
    interface IApiErrorBase
    interface IJsonSerializable
Public Class ApiErrorBase
Implements IApiErrorBase
Inheritance
ApiErrorBase
Attributes
Implements

Constructors

ApiErrorBase()

Creates an new ApiErrorBase instance.

Properties

Code

The error code.

Message

The error message.

Target

The target of the particular error.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ApiErrorBase.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ApiErrorBase.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api10.IApiErrorBase.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ApiErrorBase into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to