StateMachineWorkflowInstance.EnqueueItem Method (IComparable, Object, IPendingWork, Object)

 

Posts a message to the StateMachineWorkflowInstance.

Namespace:   System.Workflow.Activities
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

public void EnqueueItem(
	IComparable queueName,
	object item,
	IPendingWork pendingWork,
	object workItem
)

Parameters

queueName
Type: System.IComparable

The name of the workflow queue.

item
Type: System.Object

The object to queue.

pendingWork
Type: System.Workflow.Runtime.IPendingWork

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

workItem
Type: System.Object

An object to be passed to the IPendingWork methods.

.NET Framework
Available since 3.0
Return to top
Show: