Partilhar via


CommunicationsWorkflowRuntimeService.EnqueueCall Method

Enqueue a Call object for a workflow instance identified by a workflow instance ID.

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

Syntax

'Declaration
Public Sub EnqueueCall ( _
    workflowId As Guid, _
    call As Call _
)
'Usage
Dim instance As CommunicationsWorkflowRuntimeService
Dim workflowId As Guid
Dim call As Call

instance.EnqueueCall(workflowId, call)
public void EnqueueCall(
    Guid workflowId,
    Call call
)

Parameters

Exceptions

Exception Condition
InvalidOperationException

Thrown if the workflow instance ID is Guid.Empty.

InvalidOperationException

Thrown if the call is null.

InvalidOperationException

Thrown if it is a middle of shutdown.

See Also

Reference

CommunicationsWorkflowRuntimeService Class

CommunicationsWorkflowRuntimeService Members

Microsoft.Rtc.Workflow.Activities Namespace