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 对象。

例外

queueName是空引用(Visual Basic 中的 Nothing)。

已存在具有指定WorkflowQueue名称的 AqueueName

注解

使用指定的WorkflowQueue值创建 AqueueName。 如果事务是 true,则 WorkflowQueue 当前事务中仅可见。

适用于