Share via


ValidationError Class

Definition

Description about the errors happen while performing migration validation.

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

Properties

Severity

Severity of the error.

Text

Error Text.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ValidationError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ValidationError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ValidationError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ValidationError>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ValidationError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to