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.
Allows the items in the work batch to assert whether they must commit immediately.
public:
bool MustCommit(System::Collections::ICollection ^ items);
public bool MustCommit (System.Collections.ICollection items);
abstract member MustCommit : System.Collections.ICollection -> bool
Public Function MustCommit (items As ICollection) As Boolean
Parameters
- items
- ICollection
An ICollection of work items.
Returns
true
if any item in the collection must be committed immediately; otherwise, false
.
Remarks
If MustCommit returns false
, the work can be postponed to a future commit point. If any of the items must be committed, then return true
and all items will be committed at the current commit point. For a discussion about possible commit points, see the SqlWorkflowPersistenceService class.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應