DequeueCall Method

Dequeue a Call object identified by a workflow instance ID.

Namespace:  Microsoft.Rtc.Workflow.Activities
Assembly:  Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)

Syntax

'Declaration
Public Function DequeueCall ( _
    workflowId As Guid _
) As Call
public Call DequeueCall(
    Guid workflowId
)
public:
Call^ DequeueCall(
    Guid workflowId
)
function dequeueCall(workflowId);

Parameters

  • workflowId
    Type: Guid
    Workflow instance ID.

Return Value

Call.

Exceptions

Exception Condition
InvalidOperationException Thrown if the workflow instance ID is Guid.Empty.
InvalidOperationException Thrown if the queue is empty.
InvalidOperationException Thrown if it is a middle of shutdown.

See Also

CommunicationsWorkflowRuntimeService Class

Microsoft.Rtc.Workflow.Activities Namespace