Call.HandleMessageReceived(MessageReceivedEventArgs) Method

Definition

Caution

This method will be removed from future versions. AudioVideoCall users can refer to AudioVideoCall.CallMessageReceived. Derived class implementation can refer to 'HandleCallMessageReceived'.

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

protected:
 virtual bool HandleMessageReceived(Microsoft::Rtc::Signaling::MessageReceivedEventArgs ^ e);
[System.Obsolete("This method will be removed from future versions. AudioVideoCall users can refer to AudioVideoCall.CallMessageReceived. Derived class implementation can refer to 'HandleCallMessageReceived'.")]
protected virtual bool HandleMessageReceived (Microsoft.Rtc.Signaling.MessageReceivedEventArgs e);
abstract member HandleMessageReceived : Microsoft.Rtc.Signaling.MessageReceivedEventArgs -> bool
override this.HandleMessageReceived : Microsoft.Rtc.Signaling.MessageReceivedEventArgs -> bool
Protected Overridable Function HandleMessageReceived (e As MessageReceivedEventArgs) As Boolean

Parameters

e
MessageReceivedEventArgs

MessageReceivedEventArgs containing the parsed message data.

Returns

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

Attributes

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.

Applies to