Compartir a través de


ErrorBody Class

Definition

Bot Service error body.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.ErrorBodyTypeConverter))]
public class ErrorBody : Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IErrorBody
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.ErrorBodyTypeConverter))>]
type ErrorBody = class
    interface IErrorBody
    interface IJsonSerializable
Public Class ErrorBody
Implements IErrorBody
Inheritance
ErrorBody
Attributes
Implements

Constructors

ErrorBody()

Creates an new ErrorBody instance.

Properties

Code

error code

Message

error message

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ErrorBody.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ErrorBody.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IErrorBody.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ErrorBody into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to