Condividi tramite


WebAppErrorProperties Class

Definition

Error properties indicate why the Logic service was not able to process the incoming request. The reason is provided in the error message.

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

Constructors

WebAppErrorProperties()

Initializes a new instance of WebAppErrorProperties.

Properties

Code

Error code.

Message

Error message indicating why the operation failed.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<WebAppErrorProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WebAppErrorProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WebAppErrorProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebAppErrorProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WebAppErrorProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to