Edit

Share via


WorkflowQueue.Dequeue Method

Definition

Removes and returns the object at the beginning of the WorkflowQueue.

public:
 System::Object ^ Dequeue();
public object Dequeue();
member this.Dequeue : unit -> obj
Public Function Dequeue () As Object

Returns

The object that is removed from the beginning of the WorkflowQueue.

Exceptions

Remarks

You can check Count to determine whether the WorkflowQueue is empty before you call Dequeue, or you can catch the InvalidOperationException.

Applies to