StateMachineWorkflowInstance.EnqueueItem 方法
定义
将消息发送到 StateMachineWorkflowInstance。Posts a message to the StateMachineWorkflowInstance.
重载
| EnqueueItem(IComparable, Object) |
将消息发送到 StateMachineWorkflowInstance。Posts a message to the StateMachineWorkflowInstance. |
| EnqueueItem(IComparable, Object, IPendingWork, Object) |
将消息发送到 StateMachineWorkflowInstance。Posts a message to the StateMachineWorkflowInstance. |
EnqueueItem(IComparable, Object)
将消息发送到 StateMachineWorkflowInstance。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)
参数
- queueName
- IComparable
工作流队列的名称。The name of the workflow queue.
- item
- Object
要进行排队的对象。The object to queue.
适用于
EnqueueItem(IComparable, Object, IPendingWork, Object)
将消息发送到 StateMachineWorkflowInstance。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)
参数
- queueName
- IComparable
工作流队列的名称。The name of the workflow queue.
- item
- Object
要进行排队的对象。The object to queue.
- pendingWork
- IPendingWork
允许在传递项时通知发送方的 IPendingWork。An IPendingWork that allows the sender to be notified when the item is delivered.
- workItem
- Object
要传递给 IPendingWork 方法的对象。An object to be passed to the IPendingWork methods.