MediaProvider.HandleMessage Method (CallDialogContext, CallMessageReceivedEventArgs)
Handles the message.
Namespace: Microsoft.Rtc.Collaboration.ComponentModel
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Protected Overridable Function HandleMessage ( _
signalingContext As CallDialogContext, _
eventArg As CallMessageReceivedEventArgs _
) As Boolean
'Usage
Dim signalingContext As CallDialogContext
Dim eventArg As CallMessageReceivedEventArgs
Dim returnValue As Boolean
returnValue = Me.HandleMessage(signalingContext, _
eventArg)
protected virtual bool HandleMessage(
CallDialogContext signalingContext,
CallMessageReceivedEventArgs eventArg
)
Parameters
- signalingContext
Type: Microsoft.Rtc.Collaboration.CallDialogContext
The SignalingContext for the session on which the message was received.
- eventArg
Type: Microsoft.Rtc.Collaboration.CallMessageReceivedEventArgs
The CallMessageReceivedEventArgs that contains the message.
Return Value
Type: System.Boolean
true if media provider is handling the session message, and false otherwise.
Remarks
This method is invoked by the call when it receives the message on the underlying signaling session.