IActivityEventListener<T> 接口

定义

注意

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

定义监听事件的对象的接口。

generic <typename T>
 where T : EventArgspublic interface class IActivityEventListener
public interface IActivityEventListener<T> where T : EventArgs
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public interface IActivityEventListener<T> where T : EventArgs
type IActivityEventListener<'T (requires 'T :> EventArgs)> = interface
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type IActivityEventListener<'T (requires 'T :> EventArgs)> = interface
Public Interface IActivityEventListener(Of T)

类型参数

T

事件自变量的类型。

派生
属性

注解

注意

本材料讨论的类型和命名空间已废弃不用。 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型

事件参数的键入对于此定义非常重要。

方法

OnEvent(Object, T)
已过时.

定义发生订阅事件时的处理过程。

适用于