Represents a tracking service that uses a SQL database to store tracking information.
Assembly: System.Workflow.Runtime (in System.Workflow.Runtime.dll)
Gets the connection string for the tracking database.
Gets and sets a value specifying whether thewill retry when performing a database operation.
Gets or sets a value that indicates whetherparticipates in workflow transactions.
Gets or sets a value that specifies whether tracking data for a workflow instance should be moved to the currently active partition in the database when the workflow instance is completed.
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.
Gets or sets a value specifying whether a default TrackingProfile should be used for workflow types that do not have a tracking profile.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Must be overridden in the derived class, and when implemented, returns the tracking profile for the specified workflow instance.(Inherited from TrackingService.)
Must be overridden in the derived class, and when implemented, returns the channel that the run-time tracking infrastructure uses to send tracking records to the tracking service.(Inherited from TrackingService.)
Returns a string that represents the current object.(Inherited from Object.)
Must be overridden in the derived class, and when implemented, retrieves the tracking profile for the specified workflow type if one is available.(Inherited from TrackingService.)
|TryReloadProfile(Type, Guid, TrackingProfile)|
Must be overridden in the derived class, and when implemented, retrieves a new tracking profile for the specified workflow instance if the tracking profile has changed since it was last loaded.(Inherited from TrackingService.)
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
Theclass represents a fully functional tracking service. You can use this service out-of-box to collect and store tracking information, and to store tracking profiles and provide them when requested by the workflow runtime engine. The SQL tracking service writes tracking data sent to it by the runtime tracking infrastructure to a SQL database.
In many scenarios it is important for the IPendingWork interface to participate in the workflow transaction batching functionality provided by the WorkflowCommitWorkBatchService. You can set IsTransactional or pass the appropriate parameters to the constructor to configure the to participate in batching and add objects that represent pending changes to the SQL database to the WorkBatch.to maintain consistency between its database and the state of the workflow runtime engine. Therefore, the SqlTrackingChannel class makes use of the
The IProfileNotification interface and periodically examines the tracking profiles in its database in order to notify the workflow runtime engine of changes to a TrackingProfile stored in its database. You can set ProfileChangeCheckInterval or pass the appropriate parameter to the constructor in order to set the interval at which the examines its tracking profiles to notify the tracking runtime of any profile changes.also maintains tracking profiles in its database. The workflow runtime engine must be kept apprised of changes to any of the tracking profiles that it is using. The implements the
When using both the SqlWorkflowPersistenceService in a workflow application, it is recommended that you use a single database for both persistence and tracking.and the
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Data Maintenance with SqlTrackingService