Dela via


SiteRecoveryServiceError Class

Definition

ASR error model.

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

Properties

ActivityId

Activity Id.

Code

Error code.

Message

Error message.

PossibleCauses

Possible causes of error.

RecommendedAction

Recommended action to resolve error.

Explicit Interface Implementations

IJsonModel<SiteRecoveryServiceError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SiteRecoveryServiceError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SiteRecoveryServiceError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SiteRecoveryServiceError>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SiteRecoveryServiceError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to