AddValidationError Method (ValidationError)
Collapse the table of content
Expand the table of content

ActivityMetadata.AddValidationError Method (ValidationError)

.NET Framework (current version)

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


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
© 2016 Microsoft