StateMachineWorkflowInstance.EnqueueItem 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將訊息張貼到 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 方法的物件。