UpdatePrimarySessionContext Method

This method will be invoked when the primary session for the call is changed, this is mainly used in an escalation scenario, when the call's primary session is switched after escalation is completed.

Namespace: Microsoft.Rtc.Collaboration.ComponentModel
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Protected Overridable Sub UpdatePrimarySessionContext ( _
    oldContext As CallDialogContext, _
    newContext As CallDialogContext _
)
'Usage
Dim oldContext As CallDialogContext
Dim newContext As CallDialogContext

Me.UpdatePrimarySessionContext(oldContext, _
    newContext)
protected virtual void UpdatePrimarySessionContext(
    CallDialogContext oldContext,
    CallDialogContext newContext
)

Parameters

See Also

Reference

MediaProvider Class

MediaProvider Members

Microsoft.Rtc.Collaboration.ComponentModel Namespace