ActivityValidationServices.Validate Method

Verifies that a workflow activity is correctly configured according to the validation logic. This logic can be the CacheMetadata method of the activities to validate, or build and policy constraints.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Validate(Activity) Verifies that a workflow activity is correctly configured according to the validation logic. This logic can be the CacheMetadata method of the activities to validate, or build and policy constraints.
Public method Static member Validate(Activity, ValidationSettings) Verifies that a workflow activity is correctly configured according to the validation logic. This logic can be the cacheMetadata method of the activities to validate, or build and policy constraints.
Top

Custom activity authors can provide validation logic in an activity's CacheMetadata override. Any exceptions that are thrown from CacheMetadata are not treated as validation errors. These exceptions will escape from the call to Validate and must be handled by the caller.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft