Share via


AppPlatformErrorInfo Class

Definition

The error code compose of code and message.

public class AppPlatformErrorInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppPlatform.Models.AppPlatformErrorInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppPlatform.Models.AppPlatformErrorInfo>
type AppPlatformErrorInfo = class
    interface IJsonModel<AppPlatformErrorInfo>
    interface IPersistableModel<AppPlatformErrorInfo>
Public Class AppPlatformErrorInfo
Implements IJsonModel(Of AppPlatformErrorInfo), IPersistableModel(Of AppPlatformErrorInfo)
Inheritance
System.Object
AppPlatformErrorInfo
Implements
System.ClientModel.Primitives.IJsonModel<AppPlatformErrorInfo> System.ClientModel.Primitives.IPersistableModel<AppPlatformErrorInfo> System.ClientModel.Primitives.IPersistableModel<T>

Constructors

AppPlatformErrorInfo()

Initializes a new instance of AppPlatformErrorInfo.

Properties

Code

The code of error.

Message

The message of error.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AppPlatformErrorInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AppPlatformErrorInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided System.Text.Json.Utf8JsonWriter.

IPersistableModel<AppPlatformErrorInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

IPersistableModel<AppPlatformErrorInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AppPlatformErrorInfo>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Applies to