WorkflowInspectionServices.CacheMetadata 方法

定义

缓存活动树的运行时元数据。

重载

CacheMetadata(Activity)

缓存指定活动树的运行时元数据。

CacheMetadata(Activity, LocationReferenceEnvironment)

使用指定的环境缓存指定活动树的运行时元数据。

CacheMetadata(Activity)

缓存指定活动树的运行时元数据。

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)

参数

rootActivity
Activity

活动树的根活动。

适用于

CacheMetadata(Activity, LocationReferenceEnvironment)

使用指定的环境缓存指定活动树的运行时元数据。

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)

参数

rootActivity
Activity

活动树的根活动。

hostEnvironment
LocationReferenceEnvironment

与活动树关联的环境。

适用于