Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SqlTrackingService::ProfileRemoved Event

 

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 {
	virtual void add(EventHandler<ProfileRemovedEventArgs^>^ value) sealed;
	virtual void remove(EventHandler<ProfileRemovedEventArgs^>^ value) sealed;
}

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
Show:
© 2017 Microsoft