ICompensatableActivity 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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 中的
有关补偿的详细信息,请参阅 在工作流中使用事务。
方法
| 名称 | 说明 |
|---|---|
| Compensate(ActivityExecutionContext) |
已过时.
由工作流运行时调用以补偿处于“已关闭”状态的活动。 活动必须具有其ExecutionResult属性的值 |