IProfileNotification Interface

IProfileNotification Interface

Note: This API is now obsolete.

Provides a notification mechanism for a tracking service to inform the runtime tracking infrastructure about changes to the TrackingProfile for a particular workflow Type.

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

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


Occurs when a TrackingProfile for a specific workflow Type is removed.


Occurs when a TrackingProfile for a specific workflow Type is updated.


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

Tracking services manage the tracking profiles available to the runtime tracking infrastructure. A tracking service that implements IProfileNotification can provide notifications to the runtime tracking infrastructure when a TrackingProfile for a particular workflow Type either changes or is no longer valid. The runtime tracking infrastructure subscribes to the ProfileUpdated and ProfileRemoved events and updates its cache when these events are raised. This decreases the number of requests for tracking profiles that the runtime tracking infrastructure makes to a tracking service. Note: the runtime tracking infrastructure still uses the overloaded M:System.Workflow.Runtime.Tracking.TrackingService.GetProfile methods of the tracking service, but it does not call them as frequently.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft