ErrorResponseBody Class

Definition

Error response body contract.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ErrorResponseBodyTypeConverter))]
public class ErrorResponseBody : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IErrorResponseBody
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ErrorResponseBodyTypeConverter))>]
type ErrorResponseBody = class
    interface IErrorResponseBody
    interface IJsonSerializable
Public Class ErrorResponseBody
Implements IErrorResponseBody
Inheritance
ErrorResponseBody
Attributes
Implements

Constructors

ErrorResponseBody()

Creates an new ErrorResponseBody instance.

Properties

Code

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

Message

A message describing the error, intended to be suitable for display in a user interface.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ErrorResponseBody.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ErrorResponseBody.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IErrorResponseBody.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ErrorResponseBody into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to