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
- oldContext
Type: Microsoft.Rtc.Collaboration..::..CallDialogContext
- newContext
Type: Microsoft.Rtc.Collaboration..::..CallDialogContext