CodeActivity.CacheMetadata Method

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates and validates a description of the activity’s arguments, variables, child activities, and activity delegates.

Namespace:   System.Activities
Assembly:  System.Activities (in System.Activities.dll)

NameDescription
System_CAPS_protmethodCacheMetadata(ActivityMetadata)

Not implemented. Use CacheMetadata instead.(Overrides Activity.CacheMetadata(ActivityMetadata).)

System_CAPS_protmethodCacheMetadata(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 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.

Return to top
Show: