WorkflowInspectionServices.CacheMetadata Method

Definition

Caches the runtime metadata for an activity tree.

Overloads

CacheMetadata(Activity)

Caches the runtime metadata for the specified activity tree.

CacheMetadata(Activity, LocationReferenceEnvironment)

Caches the runtime metadata for the specified activity tree using the specified environment.

CacheMetadata(Activity)

Caches the runtime metadata for the specified activity tree.

C#
public static void CacheMetadata(System.Activities.Activity rootActivity);

Parameters

rootActivity
Activity

The root activity of the activity tree.

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

CacheMetadata(Activity, LocationReferenceEnvironment)

Caches the runtime metadata for the specified activity tree using the specified environment.

C#
public static void CacheMetadata(System.Activities.Activity rootActivity, System.Activities.LocationReferenceEnvironment hostEnvironment);

Parameters

rootActivity
Activity

The root activity of the activity tree.

hostEnvironment
LocationReferenceEnvironment

The environment associated with the activity tree.

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