TrackingProfileCache 類別

定義

警告

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.5 中即將淘汰的類型

當工作流程執行階段引擎有一個或多個向它登錄的追蹤服務時,執行階段追蹤基礎結構必須判斷載入記憶體中的工作流程有無追蹤設定檔。 執行階段追蹤基礎結構會維護追蹤設定檔的快取,在它向每個追蹤服務要求工作流程的 TrackingProfile 之前會先檢查這個快取。 TrackingProfileCache 類別提供一個靜態方法 Clear,可供主應用程式用來清除追蹤設定檔快取。 如此將會強制執行階段追蹤基礎結構從它登錄的追蹤服務中,為清除快取之後載入記憶體中的工作流程執行個體載入追蹤設定檔。

注意

TrackingProfile 快取不支援僅標記工作流程。

方法

Clear()
已淘汰.

清除由所有追蹤設定檔的執行階段追蹤基礎結構維護的追蹤設定檔快取。

適用於