NativeActivity.CacheMetadata Method (ActivityMetadata)

.NET Framework 4.6 and 4.5

Not implemented. Use the CacheMetadata method 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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft