WorkflowQueue.RegisterForQueueItemArrived Method

Definition

Registers a subscriber to the QueueItemArrived event.

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))

Parameters

eventListener
IActivityEventListener<QueueEventArgs>

A subscriber for QueueEventArgs that implements the IActivityEventListener<T> interface.

Applies to