SqlWorkflowPersistenceService.IPendingWork.MustCommit(ICollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether the collection of serialized state objects should be written to the database.
virtual bool System.Workflow.Runtime.IPendingWork.MustCommit(System::Collections::ICollection ^ items) = System::Workflow::Runtime::IPendingWork::MustCommit;
bool IPendingWork.MustCommit (System.Collections.ICollection items);
abstract member System.Workflow.Runtime.IPendingWork.MustCommit : System.Collections.ICollection -> bool
override this.System.Workflow.Runtime.IPendingWork.MustCommit : System.Collections.ICollection -> bool
Function MustCommit (items As ICollection) As Boolean Implements IPendingWork.MustCommit
Parameters
- items
- ICollection
An ICollection of serialized state objects to be written to the database.
Returns
true
indicates that the batch should be committed.
Implements
Remarks
IPendingWork.MustCommit(ICollection) always returns true
, which instructs the workflow run-time engine to invoke IPendingWork.MustCommit(ICollection) on the batch.