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

The IProfileNotification type exposes the following members.

Public eventProfileRemovedOccurs when a TrackingProfile for a specific workflow Type is removed.
Public eventProfileUpdatedOccurs 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 GetProfile methods of the tracking service, but it does not call them as frequently.

.NET Framework

Supported in: 4, 3.5, 3.0
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft