IEventActivity 接口

定义

注意

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

提供事件驱动活动必须派生自的方法和属性,以订阅事件。

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

注解

注释

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

属性

名称 说明
QueueName
已过时.

获取活动等待数据到达的 WorkflowQueue 的名称。

方法

名称 说明
Subscribe(ActivityExecutionContext, IActivityEventListener<QueueEventArgs>)
已过时.

创建事件的订阅 Activity

Unsubscribe(ActivityExecutionContext, IActivityEventListener<QueueEventArgs>)
已过时.

取消事件的订阅 Activity

适用于