Creates and validates a description of the activity’s arguments, variables, child activities, and activity delegates.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
|CacheMetadata(ActivityMetadata)||Not implemented. Use CacheMetadata(CodeActivityMetadata) instead. (Overrides Activity.CacheMetadata(ActivityMetadata).)|
|CacheMetadata(CodeActivityMetadata)||Creates and validates a description of the activity’s arguments, variables, child activities, and activity delegates.|
Custom activity authors can provide validation logic in an activity's override. Any exceptions that are thrown from are not treated as validation errors. These exceptions will escape from the call to Validate and must be handled by the caller.