Share via


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

Exceptions

Exception Condition
InvalidOperationException

Thrown if the workflow instance ID is Guid.Empty.

See Also

Reference

CommunicationsWorkflowRuntimeService Class

CommunicationsWorkflowRuntimeService Members

Microsoft.Rtc.Workflow.Activities Namespace