Delen via


ArmDataMigrationModelFactory.ValidationError Method

Definition

Initializes a new instance of ValidationError.

public static Azure.ResourceManager.DataMigration.Models.ValidationError ValidationError (string text = default, Azure.ResourceManager.DataMigration.Models.Severity? severity = default);
static member ValidationError : string * Nullable<Azure.ResourceManager.DataMigration.Models.Severity> -> Azure.ResourceManager.DataMigration.Models.ValidationError
Public Shared Function ValidationError (Optional text As String = Nothing, Optional severity As Nullable(Of Severity) = Nothing) As ValidationError

Parameters

text
String

Error Text.

severity
Nullable<Severity>

Severity of the error.

Returns

A new ValidationError instance for mocking.

Applies to