BatchErrorMessage Class

Definition

An error message received in an Azure Batch error response.

public class BatchErrorMessage : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.BatchErrorMessage>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.BatchErrorMessage>
type BatchErrorMessage = class
    interface IJsonModel<BatchErrorMessage>
    interface IPersistableModel<BatchErrorMessage>
Public Class BatchErrorMessage
Implements IJsonModel(Of BatchErrorMessage), IPersistableModel(Of BatchErrorMessage)
Inheritance
BatchErrorMessage
Implements

Properties

Lang

The language code of the error message.

Value

The text of the message.

Explicit Interface Implementations

IJsonModel<BatchErrorMessage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchErrorMessage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchErrorMessage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchErrorMessage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchErrorMessage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to