Share via


CommunicationsWorkflowRuntimeService.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
'Usage
Dim instance As CommunicationsWorkflowRuntimeService
Dim workflowId As Guid
Dim returnValue As Call

returnValue = instance.DequeueCall(workflowId)
public Call DequeueCall(
    Guid workflowId
)

Parameters

Return Value

Type: Microsoft.Rtc.Collaboration.Call
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

Reference

CommunicationsWorkflowRuntimeService Class

CommunicationsWorkflowRuntimeService Members

Microsoft.Rtc.Workflow.Activities Namespace