Edit

Share via


WorkflowQueuingService.CreateWorkflowQueue(IComparable, Boolean) Method

Definition

Creates a WorkflowQueue by using the specified name and transactional scope.

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

Parameters

queueName
IComparable

The name of the queue.

transactional
Boolean

A value that specifies whether the WorkflowQueue is visible outside the scope of the current transaction.

Returns

A WorkflowQueue object.

Exceptions

queueName is a null reference (Nothing in Visual Basic).

A WorkflowQueue with the name specified by queueName already exists.

Remarks

A WorkflowQueue is created with the specified queueName. If transactional is true, the WorkflowQueue is only visible inside the current transaction.

Applies to