ActivityMetadata.AddValidationError Method (ValidationError)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds the specified validation error to the metadata’s collection of validation errors.

Namespace:   System.Activities
Assembly:  System.Activities (in System.Activities.dll)

public void AddValidationError(
	ValidationError validationError
)

Parameters

validationError
Type: System.Activities.Validation.ValidationError

The validation error to add.

For more information, seeImperative Code-Based Validation.

.NET Framework
Available since 4.0
Return to top
Show: