SqlTrackingService.IsTransactional Property


Gets or sets a value that indicates whether SqlTrackingService participates in workflow transactions.

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

public bool IsTransactional { get; set; }

Property Value

Type: System.Boolean

true if SqlTrackingService participates in the workflow transaction; otherwise, false. The default is true.

Ordinarily tracking data is written to the database synchronously, that is, the data is written as soon as it is received on the Tracking Channel. If IsTransactional is true, SqlTrackingService participates in the workflow transaction. That is, it follows the semantics defined by WorkflowCommitWorkBatchService and adds any changes to its database as work items to the WorkBatch. The service commits these changes when instructed to by the workflow runtime engine.

.NET Framework
Available since 3.0
Return to top