WorkflowQueuingService.CreateWorkflowQueue(IComparable, Boolean) 方法

定義

透過指定的名稱和交易範圍建立 。WorkflowQueue

public:
 System::Workflow::Runtime::WorkflowQueue ^ CreateWorkflowQueue(IComparable ^ queueName, bool transactional);
public System.Workflow.Runtime.WorkflowQueue CreateWorkflowQueue(IComparable queueName, bool transactional);
member this.CreateWorkflowQueue : IComparable * bool -> System.Workflow.Runtime.WorkflowQueue
Public Function CreateWorkflowQueue (queueName As IComparable, transactional As Boolean) As WorkflowQueue

參數

queueName
IComparable

佇列的名稱。

transactional
Boolean

一個指定 是否 WorkflowQueue 在當前交易範圍之外可見的值。

傳回

WorkflowQueue 物件。

例外狀況

是一個空參考()。

WorkflowQueue名稱為 的 queueName A 已經存在。

備註

WorkflowQueue A 是用指定的 所建立queueName的。 若交易為 , trueWorkflowQueue 僅在當前交易中可見。

適用於