Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content

System.Activities.Validation Namespace

.NET Framework 4.6 and 4.5

Provides classes related to custom activity validation.

  Class Description
Public class ActivityValidationServices Provides the functionality to validate a workflow.
Public class AddValidationError Add a specified activity validation error to the activity before execution.
Public class AssertValidation Adds a constraint violation to a list of constraint violations if the Assertion condition evaluates to false.
Public class Constraint Handles the validation constraint that is used for validating an activity.
Public class Constraint<T> Handles a constraint used for validating an element of type T.
Public class GetChildSubtree Retrieves workflow child activities from an instance of an activity.
Public class GetParentChain Retrieves the collection of all activities which belong to the parent axis of an activity.
Public class GetWorkflowTree Retrieves a workflow tree from an instance of an activity.
Public class ValidationContext Generates results based on the correct context for the current node in the workflow tree.
Public class ValidationError Represents an instance of a validation error that occurs before execution of the workflow.
Public class ValidationResults Containts all validation errors generated by Validate while validating a workflow. These errors are contained in the Errors and Warnings collections.
Public class ValidationSettings Represents a collection of settings that customize the behavior that Validate will exhibit. It also enables the activity user to apply policy constraints to a workflow.
© 2015 Microsoft