RoomMessagesEventArgs class

Encapsulates the state of the MessagesReceived event and contains a collection of the messages sent to a room.

Inheritance hierarchy

System.Object
  System.EventArgs
    Microsoft.Lync.Model.Room.RoomMessagesEventArgs

Namespace:  Microsoft.Lync.Model.Room
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

Syntax

'Declaration
Public Class RoomMessagesEventArgs _
    Inherits EventArgs
'Usage
Dim instance As RoomMessagesEventArgs
public class RoomMessagesEventArgs : EventArgs

Remarks

When room message filtering is enabled, the IsSendingMessge event is raised when the local user is sending a message to the room. This class instance gives you access to the message that will be sent to the room or canceled after you take the appropriate action on the message. For information about taking action on a message, see Room.SendFilteredMessage(Microsoft.Lync.Model.Room.RoomMessage,Microsoft.Lync.Model.Room.Room.MessageFilteringAction).

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

RoomMessagesEventArgs members

Microsoft.Lync.Model.Room namespace