SqlTrackingService.ProfileRemoved Event


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Occurs when the SqlTrackingService detects that a TrackingProfile has been deleted.

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

public event EventHandler<ProfileRemovedEventArgs> ProfileRemoved

The SqlTrackingService periodically examines its database to determine whether one or more of its tracking profiles have been deleted. If it detects that a TrackingProfile has been deleted, it raises the ProfileRemoved event and puts the workflow Type in the ProfileRemovedEventArgs. The runtime tracking infrastructure uses this event to update its profile cache. You can set ProfileChangeCheckInterval to specify the frequency at which the SqlTrackingService examines its database.

.NET Framework
Available since 3.0
Return to top