WorkflowQueue.RegisterForQueueItemArrived 方法

定义

QueueItemArrived 事件注册一个订户。

public:
 void RegisterForQueueItemArrived(System::Workflow::ComponentModel::IActivityEventListener<System::Workflow::ComponentModel::QueueEventArgs ^> ^ eventListener);
public void RegisterForQueueItemArrived (System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.QueueEventArgs> eventListener);
member this.RegisterForQueueItemArrived : System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.QueueEventArgs> -> unit
Public Sub RegisterForQueueItemArrived (eventListener As IActivityEventListener(Of QueueEventArgs))

参数

eventListener
IActivityEventListener<QueueEventArgs>

实现 QueueEventArgs 接口的 IActivityEventListener<T> 的订户。

适用于