CommunicationsWorkflowRuntimeService.SetEndpoint Method
Sets the Endpoint for a call identified by a workflow instance ID.
Namespace: Microsoft.Rtc.Workflow.Activities
Assembly: Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)
Syntax
'Declaration
Public Sub SetEndpoint ( _
workflowId As Guid, _
endpoint As LocalEndpoint _
)
'Usage
Dim instance As CommunicationsWorkflowRuntimeService
Dim workflowId As Guid
Dim endpoint As LocalEndpoint
instance.SetEndpoint(workflowId, endpoint)
public void SetEndpoint(
Guid workflowId,
LocalEndpoint endpoint
)
Parameters
- workflowId
Type: System.Guid
Workflow instance ID.
- endpoint
Type: Microsoft.Rtc.Collaboration.LocalEndpoint
The Endpoint to set.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown if the workflow instance ID is Guid.Empty. |
See Also
Reference
CommunicationsWorkflowRuntimeService Class