StateMachineWorkflowInstance.EnqueueItem 方法

定义

将消息发送到 StateMachineWorkflowInstance

重载

EnqueueItem(IComparable, Object)

将消息发送到 StateMachineWorkflowInstance

EnqueueItem(IComparable, Object, IPendingWork, Object)

将消息发送到 StateMachineWorkflowInstance

EnqueueItem(IComparable, Object)

将消息发送到 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)

参数

queueName
IComparable

工作流队列的名称。

item
Object

要进行排队的对象。

适用于

EnqueueItem(IComparable, Object, IPendingWork, Object)

将消息发送到 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)

参数

queueName
IComparable

工作流队列的名称。

item
Object

要进行排队的对象。

pendingWork
IPendingWork

允许在传递项时通知发送方的 IPendingWork

workItem
Object

要传递给 IPendingWork 方法的对象。

适用于