Partilhar via


AssetStatusError Class

Definition

Defines the asset status error properties.

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

Properties

Code

Error code for classification of errors (ex: 400, 404, 500, etc.).

Message

Human readable helpful error message to provide additional context for error (ex: “capability Id 'foo' does not exist”).

Explicit Interface Implementations

IJsonModel<AssetStatusError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AssetStatusError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AssetStatusError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AssetStatusError>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AssetStatusError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to