ערוך

שתף באמצעות


IProfileNotification Interface

Definition

Caution

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

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

public interface class IProfileNotification
public interface IProfileNotification
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public interface IProfileNotification
type IProfileNotification = interface
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type IProfileNotification = interface
Public Interface IProfileNotification
Derived
Attributes

Remarks

Note

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.

Events

ProfileRemoved

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

ProfileUpdated

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

Applies to