Share via


ErrorResponseBody Class

Definition

Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.Api20211001.ErrorResponseBodyTypeConverter))]
public class ErrorResponseBody : Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.Api20211001.IErrorResponseBody
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.Api20211001.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

Error code

ErrorCode

Error code

ErrorMessage

Error message indicating why the operation failed.

Message

Error message indicating why the operation failed.

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