TrackingProfileCache 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
提供主机应用程序可用于清除跟踪配置文件缓存的方法。
public ref class TrackingProfileCache abstract sealed
public static class TrackingProfileCache
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public static class TrackingProfileCache
type TrackingProfileCache = class
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type TrackingProfileCache = class
Public Class TrackingProfileCache
- 继承
-
TrackingProfileCache
- 属性
注解
注释
此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的
当工作流运行时引擎注册了一个或多个跟踪服务时,运行时跟踪基础结构必须确定是否存在任何加载到内存中的工作流的跟踪配置文件。 运行时跟踪基础结构维护跟踪配置文件的缓存,在它从每个跟踪服务请求 TrackingProfile 工作流之前对其进行检查。 该 TrackingProfileCache 类提供静态方法, Clear主机应用程序可以使用该方法清除跟踪配置文件缓存。 这将强制运行时跟踪基础结构从其已注册的跟踪服务加载跟踪配置文件,以便在清除缓存后加载到内存中的任何工作流实例。
注释
TrackingProfile 仅标记工作流不支持缓存。
方法
| 名称 | 说明 |
|---|---|
| Clear() |
已过时.
清除所有跟踪配置文件的运行时跟踪基础结构维护的跟踪配置文件缓存。 |