WriteBuildInformation<T>.CacheMetadata Method
Include Protected Members
Include Inherited Members
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.
Overload List
Name | Description | |
---|---|---|
CacheMetadata(ActivityMetadata) | Not implemented. Use CacheMetadata(CodeActivityMetadata) instead. (Inherited from CodeActivity.) | |
CacheMetadata(CodeActivityMetadata) | Creates and validates a description of the activity’s arguments, variables, child activities, and activity delegates. (Inherited from CodeActivity.) |
Top
Remarks
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.
See Also
Reference
WriteBuildInformation<T> Class
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace