AsyncCodeActivity.CacheMetadata Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serves as a virtual method and converts information obtained by cache reflection into arguments for an asynchronous activity.
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. |
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.
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: