Redigera

Dela via


AsyncCodeActivity.CacheMetadata Method

Definition

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

Overloads

CacheMetadata(ActivityMetadata)

Not implemented. Use CacheMetadata(CodeActivityMetadata) instead.

CacheMetadata(CodeActivityMetadata)

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

Remarks

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.

CacheMetadata(ActivityMetadata)

Not implemented. Use CacheMetadata(CodeActivityMetadata) instead.

protected:
 override void CacheMetadata(System::Activities::ActivityMetadata metadata);
protected override sealed void CacheMetadata (System.Activities.ActivityMetadata metadata);
override this.CacheMetadata : System.Activities.ActivityMetadata -> unit
Protected Overrides NotOverridable Sub CacheMetadata (metadata As ActivityMetadata)

Parameters

metadata
ActivityMetadata

Not implemented.

Applies to

CacheMetadata(CodeActivityMetadata)

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

protected:
 virtual void CacheMetadata(System::Activities::CodeActivityMetadata metadata);
protected virtual void CacheMetadata (System.Activities.CodeActivityMetadata metadata);
override this.CacheMetadata : System.Activities.CodeActivityMetadata -> unit
Protected Overridable Sub CacheMetadata (metadata As CodeActivityMetadata)

Parameters

metadata
CodeActivityMetadata

CodeActivityMetadata object that contains data for a set of asynchronous activity arguments.

Remarks

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.

Applies to