This documentation is archived and is not being maintained.

TrackingProfileCache Class

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


Namespace:  System.Workflow.Runtime.Tracking
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)

public static class TrackingProfileCache

The TrackingProfileCache type exposes the following members.

Public methodStatic memberClearClears the tracking profile cache maintained by the runtime tracking infrastructure of all tracking profiles.

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.


TrackingProfile caching is not supported for markup only workflows.

.NET Framework

Supported in: 4, 3.5, 3.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.