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

ForEach<T>.CacheMetadata Method

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.

  NameDescription
Protected method CacheMetadata(ActivityMetadata) Not implemented. Use the CacheMetadata(NativeActivityMetadata) method instead. (Inherited from NativeActivity.)
Protected method CacheMetadata(NativeActivityMetadata) Creates and validates a description of the activity’s arguments, variables, child activities, and activity delegates. (Inherited from NativeActivity.)
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.

Community Additions

ADD
Show:
© 2015 Microsoft