แก้ไข

แชร์ผ่าน


SqlTrackingService.IsTransactional Property

Definition

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

public:
 property bool IsTransactional { bool get(); void set(bool value); };
public bool IsTransactional { get; set; }
member this.IsTransactional : bool with get, set
Public Property IsTransactional As Boolean

Property Value

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

Remarks

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.

Applies to