Export (0) Print
Expand All

ChatRoomManagementServices.BeginUpdateChatRoom method (ChatRoomInformation, ICollection<PersistentChatPrincipalSummary>, ICollection<PersistentChatPrincipalSummary>, ICollection<PersistentChatPrincipalSummary>, AsyncCallback, Object)

Update chat room settings, member list, manager list and presenter list with one API call.

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

public IAsyncResult BeginUpdateChatRoom(
	ChatRoomInformation roomInfo,
	ICollection<PersistentChatPrincipalSummary> members,
	ICollection<PersistentChatPrincipalSummary> managers,
	ICollection<PersistentChatPrincipalSummary> presenters,
	AsyncCallback userCallBack,
	Object state
)

Parameters

roomInfo
Type: Microsoft.Rtc.Collaboration.PersistentChat.Management.ChatRoomInformation

Object that contains the room settings

members
Type: System.Collections.Generic.ICollection<PersistentChatPrincipalSummary>

A collection of users and user groups to be set as members. Pass in null to leave the current members unchanged.

managers
Type: System.Collections.Generic.ICollection<PersistentChatPrincipalSummary>

A collection of users and user groups to be set as managers. Pass in null to leave the current managers unchanged.

presenters
Type: System.Collections.Generic.ICollection<PersistentChatPrincipalSummary>

A collection of users and user groups to be set as presenters. Pass in null to leave the current presenters unchanged.

userCallBack
Type: System.AsyncCallback

The method to be invoked when this asynchronous operation completes.

state
Type: System.Object

An object to be passed back to the callback.

Return value

Type: System.IAsyncResult
An IAsyncResult that references this operation.

ExceptionCondition
ArgumentNullException

roomInfo is null.

ChatServerConnectionException

The PersistentChatEndpoint is not established.

InvalidOperationException

The chat server connection is not in a valid state to send the command.

RealTimeException

The PersistentChatEndpoint encountered an error communicating with the chat server.

Community Additions

ADD
Show:
© 2014 Microsoft