Edit

Share via


Room Class

Definition

Encapsulates a group chat room.

public ref class Room : Microsoft::Lync::Model::Internal::UCWFull
public class Room : Microsoft.Lync.Model.Internal.UCWFull
type Room = class
    inherit UCWFull
Public Class Room
Inherits UCWFull
Inheritance

Properties

InnerObject (Inherited from UCWBase)
IsOutgoingMessageFilterEnabled

Gets whether the outgoing message filter is enabled.

JoinedState

Gets the room join state.

Participants

Gets the room participants

Properties

Gets a collection of room properties.

UnreadRoomMessageCount

Gets the unread room message count.

Methods

BeginJoin(AsyncCallback, Object)

Join this room

BeginLeave(AsyncCallback, Object)

Leave this room.

BeginRetrieveAdditionalMessages(UInt32, UInt32, AsyncCallback, Object)

Retrieve additional messages

BeginRetrieveLatestMessages(UInt32, AsyncCallback, Object)

Retrieve latest messages from a room

BeginSendMessage(IDictionary<RoomMessageFormat,String>, RoomMessageType, AsyncCallback, Object)

Sends a message in different formats to this room.

BeginSendMessage(String, RoomMessageType, AsyncCallback, Object)

Sends a plain text message to this room.

BeginSendStoryMessage(IDictionary<RoomMessageFormat,String>, RoomMessageType, String, AsyncCallback, Object)

Sends a story message in different formats to this room.

BeginSendStoryMessage(String, RoomMessageType, String, AsyncCallback, Object)

Sends a story message in plain text to this room.

DisableOutgoingMessageFilter()

Disable the outgoing message filter.

EnableOutgoingMessageFilter()

Enable the outgoing message filter.

EnableOutgoingMessageFilter(Boolean)

Enable the outgoing message filter.

EndJoin(IAsyncResult)

Join this room

EndLeave(IAsyncResult)

Leave this room.

EndRetrieveAdditionalMessages(IAsyncResult)

Retrieve additional messages

EndRetrieveLatestMessages(IAsyncResult)

Ends the Retrevie latest messages operations

EndSendMessage(IAsyncResult)

Ends the SendMessage operation

EndSendStoryMessage(IAsyncResult)

Ends the SendStoryMessage operation

Finalize()
SendFilteredMessage(RoomMessage, RoomMessageFilteringAction)

Sends a message that has passed a filter as defined by a custom application.

Events

IsSendingMessage

Raised when the signed in user has finished typing in the group chat room message typing area or Room.BeginSendMessage has been called and Room.IsOutgoingMessageFilterEnabled returns true.

JoinStateChanged

Raised when a room join state is changed.

MessagesReceived

Raised when messages are received.

ParticipantAdded

Raised when a new participant is added.

ParticipantRemoved

Raised when a existing participant is removed.

PropertyChanged

Raised when a property value changes.

UnreadMessageCountChanged

Raised when unread message count changes.

Applies to