FaultHandlersActivity 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
表示一个 CompositeActivity,它具有 FaultHandlerActivity 类型的子活动的有序列表。 此类不能被继承。
public ref class FaultHandlersActivity sealed : System::Workflow::ComponentModel::CompositeActivity, System::Workflow::ComponentModel::IActivityEventListener<System::Workflow::ComponentModel::ActivityExecutionStatusChangedEventArgs ^>
[System.Drawing.ToolboxBitmap(typeof(System.Workflow.ComponentModel.FaultHandlersActivity), "Resources.Exceptions.png")]
[System.Workflow.ComponentModel.AlternateFlowActivity]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.FaultHandlersActivityValidator))]
public sealed class FaultHandlersActivity : System.Workflow.ComponentModel.CompositeActivity, System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs>
[System.Drawing.ToolboxBitmap(typeof(System.Workflow.ComponentModel.FaultHandlersActivity), "Resources.Exceptions.png")]
[System.Workflow.ComponentModel.AlternateFlowActivity]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.FaultHandlersActivityValidator))]
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public sealed class FaultHandlersActivity : System.Workflow.ComponentModel.CompositeActivity, System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs>
[<System.Drawing.ToolboxBitmap(typeof(System.Workflow.ComponentModel.FaultHandlersActivity), "Resources.Exceptions.png")>]
[<System.Workflow.ComponentModel.AlternateFlowActivity>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.FaultHandlersActivityValidator))>]
type FaultHandlersActivity = class
inherit CompositeActivity
interface IActivityEventListener<ActivityExecutionStatusChangedEventArgs>
[<System.Drawing.ToolboxBitmap(typeof(System.Workflow.ComponentModel.FaultHandlersActivity), "Resources.Exceptions.png")>]
[<System.Workflow.ComponentModel.AlternateFlowActivity>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.FaultHandlersActivityValidator))>]
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type FaultHandlersActivity = class
inherit CompositeActivity
interface IActivityEventListener<ActivityExecutionStatusChangedEventArgs>
Public NotInheritable Class FaultHandlersActivity
Inherits CompositeActivity
Implements IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs)
- 继承
- 属性
- 实现
注解
备注
本材料讨论的类型和命名空间已废弃不用。 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型。
构造函数
FaultHandlersActivity() |
初始化 FaultHandlersActivity 类的新实例。 |
FaultHandlersActivity(String) |
使用活动名初始化 FaultHandlersActivity 类的新实例。 |
属性
方法
事件
Canceling |
在取消活动执行时发生。 (继承自 Activity) |
Closed |
在 Activity 完成执行时发生。 (继承自 Activity) |
Compensating |
在 Activity 上运行补偿方法时发生。 (继承自 Activity) |
Executing |
在运行 Activity 时发生。 (继承自 Activity) |
Faulting |
在实例的运行期间引发异常时发生。 (继承自 Activity) |
StatusChanged |
在运行中的 ActivityExecutionStatus 的 Activity 更改时发生。 (继承自 Activity) |
显式接口实现
IActivityEventListener<ActivityExecutionStatusChangedEventArgs>.OnEvent(Object, ActivityExecutionStatusChangedEventArgs) |
定义发生订阅事件时的处理过程。 |
IComponent.Disposed |
表示处理组件的“Disposed”事件的方法。 (继承自 DependencyObject) |