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
屬性

備註

Note

此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的 Deprecated Types。

當工作流程執行引擎註冊了一個或多個追蹤服務時,執行時追蹤基礎設施必須判斷是否存在任何載入記憶體的工作流程的追蹤設定檔。 執行時追蹤基礎設施會維持一個追蹤檔案快取,並在向每個追蹤服務請求 TrackingProfile 工作流程前檢查這些設定檔。 該 TrackingProfileCache 類別提供一個靜態方法,主機 Clear應用程式可用來清除追蹤輪廓快取。 這將強制執行時追蹤基礎設施從其註冊的追蹤服務載入任何在快取清除後載入記憶體的工作流程實例的追蹤設定檔。

Note

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

方法

名稱 Description
Clear()
已淘汰.

清除執行時追蹤基礎設施維護的所有追蹤設定檔快取。

適用於