편집

다음을 통해 공유


TrackingProfileCache Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Provides a method that a host application can use to clear the tracking profile cache.

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
Inheritance
TrackingProfileCache
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

When the workflow runtime engine has one or more tracking services registered with it, the runtime tracking infrastructure must determine whether tracking profiles exist for any workflow that is loaded into memory. The runtime tracking infrastructure maintains a cache of tracking profiles which it checks before it requests a TrackingProfile for the workflow from each tracking service. The TrackingProfileCache class provides a static method, Clear, which a host application can use to clear the tracking profile cache. This will force the runtime tracking infrastructure to load tracking profiles from its registered tracking services for any workflow instances that are loaded into memory after the cache is cleared.

Note

TrackingProfile caching is not supported for markup only workflows.

Methods

Clear()

Clears the tracking profile cache maintained by the runtime tracking infrastructure of all tracking profiles.

Applies to