Freigeben über


DeviceRegistryErrorDetails Class

Definition

Defines the error details properties.

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

Properties

Name Description
Code

Multi-part error code for classification and root causing of errors (ex: 400.200.100.432).

CorrelationId

Unique identifier for the transaction to aid in debugging.

Info

Human-readable helpful detailed text context for debugging (ex: “The following mechanisms are supported...”).

Message

Human-readable helpful error message to provide additional context for error (ex: “Authentication method not supported”).

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<DeviceRegistryErrorDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<DeviceRegistryErrorDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<DeviceRegistryErrorDetails>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<DeviceRegistryErrorDetails>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<DeviceRegistryErrorDetails>.Write(ModelReaderWriterOptions)

Applies to