WorkflowQueuingService.CreateWorkflowQueue(IComparable, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過指定的名稱和交易範圍建立 。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的。 若交易為 , true則 WorkflowQueue 僅在當前交易中可見。