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

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.

See Also

Reference

MediaProvider Class

MediaProvider Members

Microsoft.Rtc.Collaboration.ComponentModel Namespace