Editar

Compartilhar via


StateMachineWorkflowInstance.EnqueueItem Method

Definition

Posts a message to the StateMachineWorkflowInstance.

Overloads

EnqueueItem(IComparable, Object)

Posts a message to the StateMachineWorkflowInstance.

EnqueueItem(IComparable, Object, IPendingWork, Object)

Posts a message to the StateMachineWorkflowInstance.

EnqueueItem(IComparable, Object)

Posts a message to the StateMachineWorkflowInstance.

public:
 void EnqueueItem(IComparable ^ queueName, System::Object ^ item);
public void EnqueueItem (IComparable queueName, object item);
member this.EnqueueItem : IComparable * obj -> unit
Public Sub EnqueueItem (queueName As IComparable, item As Object)

Parameters

queueName
IComparable

The name of the workflow queue.

item
Object

The object to queue.

Applies to

EnqueueItem(IComparable, Object, IPendingWork, Object)

Posts a message to the StateMachineWorkflowInstance.

public:
 void EnqueueItem(IComparable ^ queueName, System::Object ^ item, System::Workflow::Runtime::IPendingWork ^ pendingWork, System::Object ^ workItem);
public void EnqueueItem (IComparable queueName, object item, System.Workflow.Runtime.IPendingWork pendingWork, object workItem);
member this.EnqueueItem : IComparable * obj * System.Workflow.Runtime.IPendingWork * obj -> unit
Public Sub EnqueueItem (queueName As IComparable, item As Object, pendingWork As IPendingWork, workItem As Object)

Parameters

queueName
IComparable

The name of the workflow queue.

item
Object

The object to queue.

pendingWork
IPendingWork

An IPendingWork that allows the sender to be notified when the item is delivered.

workItem
Object

An object to be passed to the IPendingWork methods.

Applies to