MediaProvider.HandleMessage Method (CallDialogContext, MessageReceivedEventArgs)
NOTE: This API is now obsolete.
Handles the message.
Namespace: Microsoft.Rtc.Collaboration.ComponentModel
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
<ObsoleteAttribute("This method will be removed from future versions. Use method 'HandleMessage(CallMessageReceivedEventArgs)'")> _
Protected Overridable Function HandleMessage ( _
signalingContext As CallDialogContext, _
eventArg As MessageReceivedEventArgs _
) As Boolean
'Usage
Dim signalingContext As CallDialogContext
Dim eventArg As MessageReceivedEventArgs
Dim returnValue As Boolean
returnValue = Me.HandleMessage(signalingContext, _
eventArg)
[ObsoleteAttribute("This method will be removed from future versions. Use method 'HandleMessage(CallMessageReceivedEventArgs)'")]
protected virtual bool HandleMessage(
CallDialogContext signalingContext,
MessageReceivedEventArgs eventArg
)
Parameters
- signalingContext
Type: Microsoft.Rtc.Collaboration.CallDialogContext
The SignalingContext for the session on which the message was received.
- eventArg
Type: Microsoft.Rtc.Signaling.MessageReceivedEventArgs
The MessageReceivedEventArgs 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.