Share via


StorageErrorInfo Class

Definition

Azure storage specific error information.

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

Constructors

StorageErrorInfo()

Initializes a new instance of StorageErrorInfo.

Properties

ErrorCode

Error code.

ErrorString

Localized error string.

Recommendations

List of localized recommendations for above error code.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<StorageErrorInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageErrorInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageErrorInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageErrorInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageErrorInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to