WorkflowInspectionServices.CacheMetadata 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
缓存活动树的运行时元数据。
重载
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
与活动树关联的环境。