Export (0) Print
Expand All

AsyncCodeActivity.CacheMetadata Method

Serves as a virtual method and converts information obtained by cache reflection into arguments for an asynchronous activity.

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

  Name Description
Protected method CacheMetadata(ActivityMetadata) Not implemented. Use CacheMetadata instead. (Overrides Activity.CacheMetadata(ActivityMetadata).)
Protected method CacheMetadata(CodeActivityMetadata) Serves as a virtual method and converts information obtained by cache reflection into arguments for an asynchronous activity.
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.

Show:
© 2014 Microsoft