TrackingProfileCache Class

 
Note: This API is now obsolete.

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)

System.Object
  System.Workflow.Runtime.Tracking.TrackingProfileCache

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public static class TrackingProfileCache

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticClear()

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

System_CAPS_noteNote

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.

System_CAPS_noteNote

TrackingProfile caching is not supported for markup only workflows.

.NET Framework
Available since 3.0

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

Return to top
Show: