FaultHandlerActivity 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
public ref class FaultHandlerActivity sealed : System::Workflow::ComponentModel::CompositeActivity, System::Workflow::ComponentModel::Design::ITypeFilterProvider, System::Workflow::ComponentModel::IActivityEventListener<System::Workflow::ComponentModel::ActivityExecutionStatusChangedEventArgs ^>, System::Workflow::ComponentModel::IDynamicPropertyTypeProvider
[System.Drawing.ToolboxBitmap(typeof(System.Workflow.ComponentModel.FaultHandlerActivity), "Resources.Exception.png")]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.FaultHandlerActivityValidator))]
public sealed class FaultHandlerActivity : System.Workflow.ComponentModel.CompositeActivity, System.Workflow.ComponentModel.Design.ITypeFilterProvider, System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs>, System.Workflow.ComponentModel.IDynamicPropertyTypeProvider
[System.Drawing.ToolboxBitmap(typeof(System.Workflow.ComponentModel.FaultHandlerActivity), "Resources.Exception.png")]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.FaultHandlerActivityValidator))]
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public sealed class FaultHandlerActivity : System.Workflow.ComponentModel.CompositeActivity, System.Workflow.ComponentModel.Design.ITypeFilterProvider, System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs>, System.Workflow.ComponentModel.IDynamicPropertyTypeProvider
[<System.Drawing.ToolboxBitmap(typeof(System.Workflow.ComponentModel.FaultHandlerActivity), "Resources.Exception.png")>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.FaultHandlerActivityValidator))>]
type FaultHandlerActivity = class
inherit CompositeActivity
interface IActivityEventListener<ActivityExecutionStatusChangedEventArgs>
interface ITypeFilterProvider
interface IDynamicPropertyTypeProvider
[<System.Drawing.ToolboxBitmap(typeof(System.Workflow.ComponentModel.FaultHandlerActivity), "Resources.Exception.png")>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.FaultHandlerActivityValidator))>]
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type FaultHandlerActivity = class
inherit CompositeActivity
interface IActivityEventListener<ActivityExecutionStatusChangedEventArgs>
interface ITypeFilterProvider
interface IDynamicPropertyTypeProvider
Public NotInheritable Class FaultHandlerActivity
Inherits CompositeActivity
Implements IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs), IDynamicPropertyTypeProvider, ITypeFilterProvider
- 继承
- 属性
- 实现
注解
注意
本材料讨论的类型和命名空间已废弃不用。 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型。
构造函数
FaultHandlerActivity() |
已过时.
初始化 FaultHandlerActivity 类的新实例。 |
FaultHandlerActivity(String) |
已过时.
使用活动名初始化 FaultHandlerActivity 类的新实例。 |
字段
FaultTypeProperty |
已过时.
表示针对 DependencyProperty 属性的 FaultType。 |
属性
方法
事件
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) |
IDynamicPropertyTypeProvider.GetAccessType(IServiceProvider, String) |
已过时.
返回指定属性的访问类型。 |
IDynamicPropertyTypeProvider.GetPropertyType(IServiceProvider, String) |
已过时.
返回指定属性的 Type。 |
ITypeFilterProvider.CanFilterType(Type, Boolean) |
已过时.
提供一个值,该值指示此实例是否可以筛选指定的 Type。 |
ITypeFilterProvider.FilterDescription |
已过时.
获取与此实例关联的筛选器说明。 |