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

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