CommunicationsWorkflowRuntimeService.GetWorkflowCalls Method
Returns an array of calls for a particular workflow ID.
Namespace: Microsoft.Rtc.Workflow.Activities
Assembly: Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)
Syntax
'Declaration
Public Function GetWorkflowCalls ( _
workflowId As Guid _
) As Call()
'Usage
Dim instance As CommunicationsWorkflowRuntimeService
Dim workflowId As Guid
Dim returnValue As Call()
returnValue = instance.GetWorkflowCalls(workflowId)
public Call[] GetWorkflowCalls(
Guid workflowId
)
Parameters
- workflowId
Type: System.Guid
Workflow instance ID.
Return Value
Type: []
List of calls.
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