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

ActivityMetadata.AddValidationError Method (String)

.NET Framework (current version)

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

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

public void AddValidationError(
	string validationErrorMessage


Type: System.String

A message that describes the validation error.

For more information, seeImperative Code-Based Validation.

.NET Framework
Available since 4.0
Return to top
© 2016 Microsoft