MediaProvider.UpdatePrimarySessionContext Method
Updates the context of the primary session.
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
The original primary signaling context of the call.
- newContext
Type: Microsoft.Rtc.Collaboration.CallDialogContext
The updated primary signaling context of the call.
Remarks
This method is invoked when the primary session for a call is changed, and is used primarily in escalation scenarios, when the call's primary session is switched after the escalation is complete.