You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Workflow.ComponentModel;
|
||||
using System.Workflow.Runtime;
|
||||
using System.Diagnostics;
|
||||
using System.Transactions;
|
||||
|
||||
namespace System.Workflow.Runtime
|
||||
{
|
||||
[Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
|
||||
public interface IPendingWork
|
||||
{
|
||||
/// <summary>
|
||||
/// Allows pending work members to assert that they need to commit.
|
||||
/// This is used to eliminate unnecessary commits.
|
||||
/// </summary>
|
||||
/// <param name="items">Items belonging to this pending work member</param>
|
||||
/// <returns>true if a Commit is required; false if not</returns>
|
||||
bool MustCommit(ICollection items);
|
||||
/// <summary>
|
||||
/// Commmit the work items using the transaction
|
||||
/// </summary>
|
||||
/// <param name="transaction"></param>
|
||||
/// <param name="items"></param>
|
||||
void Commit(System.Transactions.Transaction transaction, ICollection items);
|
||||
|
||||
/// <summary>
|
||||
/// Perform necesssary cleanup. Called when the scope
|
||||
/// has finished processing this batch of work items
|
||||
/// </summary>
|
||||
/// <param name="succeeded"></param>
|
||||
/// <param name="items"></param>
|
||||
void Complete(bool succeeded, ICollection items);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user