MediaProvider.UpdatePrimarySessionContext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the context of the primary session.
protected:
virtual void UpdatePrimarySessionContext(Microsoft::Rtc::Collaboration::CallDialogContext ^ oldContext, Microsoft::Rtc::Collaboration::CallDialogContext ^ newContext);
protected virtual void UpdatePrimarySessionContext (Microsoft.Rtc.Collaboration.CallDialogContext oldContext, Microsoft.Rtc.Collaboration.CallDialogContext newContext);
abstract member UpdatePrimarySessionContext : Microsoft.Rtc.Collaboration.CallDialogContext * Microsoft.Rtc.Collaboration.CallDialogContext -> unit
override this.UpdatePrimarySessionContext : Microsoft.Rtc.Collaboration.CallDialogContext * Microsoft.Rtc.Collaboration.CallDialogContext -> unit
Protected Overridable Sub UpdatePrimarySessionContext (oldContext As CallDialogContext, newContext As CallDialogContext)
Parameters
- oldContext
- CallDialogContext
The original primary signaling context of the call.
- newContext
- 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.