ActivityMetadata.AddValidationError Method

.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 a validation error to the metadata’s collection of validation errors.

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

NameDescription
System_CAPS_pubmethodAddValidationError(String)

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

System_CAPS_pubmethodAddValidationError(ValidationError)

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

For more information, seeImperative Code-Based Validation.

Return to top
Show: