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 _
)
public void SetEndpoint(
    Guid workflowId,
    LocalEndpoint endpoint
)
public:
void SetEndpoint(
    Guid workflowId, 
    LocalEndpoint^ endpoint
)
function setEndpoint(workflowId, endpoint);

Parameters

  • workflowId
    Type: Guid
    Workflow instance ID.
  • endpoint
    Type: LocalEndpoint
    The Endpoint to set.

Exceptions

Exception Condition
InvalidOperationException Thrown if the workflow instance ID is Guid.Empty.

See Also

CommunicationsWorkflowRuntimeService Class

Microsoft.Rtc.Workflow.Activities Namespace