SqlTrackingService.ProfileChangeCheckInterval Property

 

Gets or sets a value that specifies the interval at which the database should be checked for changes to one or more of its tracking profiles.

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

public double ProfileChangeCheckInterval { get; set; }

Property Value

Type: System.Double

The interval length in milliseconds. The default is 60000.

The SqlTrackingService periodically examines the database to determine whether one or more of its tracking profiles have been changed or have been deleted. When the SqlTrackingService determines that a TrackingProfile has been deleted it raises an ProfileRemoved event; when it determines that a profile has been changed it raises a ProfileUpdated event. The runtime tracking infrastructure subscribes to both of these events and updates its tracking profile cache appropriately when they occur. You can also subscribe to either or both of these events if you want to be notified of changes to a tracking profile. You can set ProfileChangeCheckInterval to specify the frequency with which the SqlTrackingService should test for such changes. When you specify a new value for ProfileChangeCheckInterval, the timer interval is immediately set to this new value.

.NET Framework
Available since 3.0
Return to top
Show: