CacheMetadata Method (ActivityMetadata)
Collapse the table of content
Expand the table of content

CodeActivity<TResult>.CacheMetadata Method (ActivityMetadata)

.NET Framework (current version)
 

Not implemented. Use CacheMetadata instead.

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

protected override sealed void CacheMetadata(
	ActivityMetadata metadata
)

Parameters

metadata
Type: System.Activities.ActivityMetadata

Not implemented.

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.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft