Handles a message received event in a class derived from the call class.

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Protected 
Overridable 
Function 
HandleMessageReceived ( _
	
e 
As 

MessageReceivedEventArgs _
) 
As 
Boolean
C#
protected 
virtual 
bool 
HandleMessageReceived(
	

MessageReceivedEventArgs 
e
)
Visual C++
protected:
virtual 
bool 
HandleMessageReceived(
	

MessageReceivedEventArgs^ 
e
)
JavaScript
function 
handleMessageReceived(
e);

Parameters

e
Type: Microsoft.Rtc.Signaling . . :: . MessageReceivedEventArgs
MessageReceivedEventArgs containg the parsed message data.

Return Value

Returns true if message is being handled by call, else returns false.

Remarks

Handles the message received on the call, returns true if the call is handling the message.

This method is invoked only for the messages which are not handled by the MediaProvider. Message will be first delivered to MediaProvider.HandleMessage. If MediaProvider.HandleMessage returns false, this method will be invoked.

See Also