WorkflowInspectionServices.CacheMetadata Method
Definition
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.
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.
public:
static void CacheMetadata(System::Activities::Activity ^ rootActivity);
public static void CacheMetadata (System.Activities.Activity rootActivity);
static member CacheMetadata : System.Activities.Activity -> unit
Public Shared Sub CacheMetadata (rootActivity As Activity)
Parameters
- rootActivity
- Activity
The root activity of the activity tree.
Applies to
CacheMetadata(Activity, LocationReferenceEnvironment)
Caches the runtime metadata for the specified activity tree using the specified environment.
public:
static void CacheMetadata(System::Activities::Activity ^ rootActivity, System::Activities::LocationReferenceEnvironment ^ hostEnvironment);
public static void CacheMetadata (System.Activities.Activity rootActivity, System.Activities.LocationReferenceEnvironment hostEnvironment);
static member CacheMetadata : System.Activities.Activity * System.Activities.LocationReferenceEnvironment -> unit
Public Shared Sub CacheMetadata (rootActivity As Activity, hostEnvironment As LocationReferenceEnvironment)
Parameters
- rootActivity
- Activity
The root activity of the activity tree.
- hostEnvironment
- LocationReferenceEnvironment
The environment associated with the activity tree.