Düzenle

Aracılığıyla paylaş


SqlWorkflowPersistenceService.IPendingWork.Commit Method

Definition

Writes an ICollection of serialized state objects to the database.

 virtual void System.Workflow.Runtime.IPendingWork.Commit(System::Transactions::Transaction ^ transaction, System::Collections::ICollection ^ items) = System::Workflow::Runtime::IPendingWork::Commit;
void IPendingWork.Commit (System.Transactions.Transaction transaction, System.Collections.ICollection items);
abstract member System.Workflow.Runtime.IPendingWork.Commit : System.Transactions.Transaction * System.Collections.ICollection -> unit
override this.System.Workflow.Runtime.IPendingWork.Commit : System.Transactions.Transaction * System.Collections.ICollection -> unit
Sub Commit (transaction As Transaction, items As ICollection) Implements IPendingWork.Commit

Parameters

transaction
Transaction

A Transaction.

items
ICollection

The ICollection of work items to be written to the database.

Implements

Exceptions

An error occurred while trying to write to the database.

Remarks

The serialized state objects that are contained in items are written to the database.

Applies to