Share via


RoomMessageEventArgs class

Encapsulates the state of the event raised when a local user sends a message to a group chat room.

Inheritance hierarchy

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

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

Syntax

'Declaration
Public Class RoomMessageEventArgs _
    Inherits EventArgs
'Usage
Dim instance As RoomMessageEventArgs
public class RoomMessageEventArgs : 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.RoomZMessageFilteringAction).

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

RoomMessageEventArgs members

Microsoft.Lync.Model.Room namespace