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

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.

See Also

Reference

MediaProvider Class

MediaProvider Members

HandleMessage Overload

Microsoft.Rtc.Collaboration.ComponentModel Namespace