通过


ICompensatableActivity 接口

定义

注意

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

定义可补偿的 Activity 接口。

public interface class ICompensatableActivity
public interface ICompensatableActivity
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public interface ICompensatableActivity
type ICompensatableActivity = interface
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ICompensatableActivity = interface
Public Interface ICompensatableActivity
派生
属性

注解

注释

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的 Deprecated Types。

有关补偿的详细信息,请参阅 在工作流中使用事务

方法

名称 说明
Compensate(ActivityExecutionContext)
已过时.

由工作流运行时调用以补偿处于“已关闭”状态的活动。 活动必须具有其ExecutionResult属性的值Succeeded才能得到补偿。

适用于