ChatRoomManagementServices.BeginUpdateChatRoom Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
BeginUpdateChatRoom(ChatRoomInformation, ICollection<PersistentChatPrincipalSummary>, ICollection<PersistentChatPrincipalSummary>, ICollection<PersistentChatPrincipalSummary>, AsyncCallback, Object) |
Update chat room settings, member list, manager list and presenter list with one API call. |
BeginUpdateChatRoom(ChatRoomInformation, AsyncCallback, Object) |
Update the chat room properties with the given ChatRoomInformation. This request will be processed asynchronously. See EndUpdateChatRoom(IAsyncResult) to complete this asynchronous operation. |
BeginUpdateChatRoom(ChatRoomInformation, ICollection<PersistentChatPrincipalSummary>, ICollection<PersistentChatPrincipalSummary>, ICollection<PersistentChatPrincipalSummary>, AsyncCallback, Object)
Update chat room settings, member list, manager list and presenter list with one API call.
public:
IAsyncResult ^ BeginUpdateChatRoom(Microsoft::Rtc::Collaboration::PersistentChat::Management::ChatRoomInformation ^ roomInfo, System::Collections::Generic::ICollection<Microsoft::Rtc::Collaboration::PersistentChat::Management::PersistentChatPrincipalSummary ^> ^ members, System::Collections::Generic::ICollection<Microsoft::Rtc::Collaboration::PersistentChat::Management::PersistentChatPrincipalSummary ^> ^ managers, System::Collections::Generic::ICollection<Microsoft::Rtc::Collaboration::PersistentChat::Management::PersistentChatPrincipalSummary ^> ^ presenters, AsyncCallback ^ userCallBack, System::Object ^ state);
public IAsyncResult BeginUpdateChatRoom (Microsoft.Rtc.Collaboration.PersistentChat.Management.ChatRoomInformation roomInfo, System.Collections.Generic.ICollection<Microsoft.Rtc.Collaboration.PersistentChat.Management.PersistentChatPrincipalSummary> members, System.Collections.Generic.ICollection<Microsoft.Rtc.Collaboration.PersistentChat.Management.PersistentChatPrincipalSummary> managers, System.Collections.Generic.ICollection<Microsoft.Rtc.Collaboration.PersistentChat.Management.PersistentChatPrincipalSummary> presenters, AsyncCallback userCallBack, object state);
member this.BeginUpdateChatRoom : Microsoft.Rtc.Collaboration.PersistentChat.Management.ChatRoomInformation * System.Collections.Generic.ICollection<Microsoft.Rtc.Collaboration.PersistentChat.Management.PersistentChatPrincipalSummary> * System.Collections.Generic.ICollection<Microsoft.Rtc.Collaboration.PersistentChat.Management.PersistentChatPrincipalSummary> * System.Collections.Generic.ICollection<Microsoft.Rtc.Collaboration.PersistentChat.Management.PersistentChatPrincipalSummary> * AsyncCallback * obj -> IAsyncResult
Public Function BeginUpdateChatRoom (roomInfo As ChatRoomInformation, members As ICollection(Of PersistentChatPrincipalSummary), managers As ICollection(Of PersistentChatPrincipalSummary), presenters As ICollection(Of PersistentChatPrincipalSummary), userCallBack As AsyncCallback, state As Object) As IAsyncResult
Parameters
- roomInfo
- ChatRoomInformation
Object that contains the room settings
A collection of users and user groups to be set as members. Pass in null to leave the current members unchanged.
- managers
- ICollection<PersistentChatPrincipalSummary>
A collection of users and user groups to be set as managers. Pass in null to leave the current managers unchanged.
- presenters
- ICollection<PersistentChatPrincipalSummary>
A collection of users and user groups to be set as presenters. Pass in null to leave the current presenters unchanged.
- userCallBack
- AsyncCallback
The method to be invoked when this asynchronous operation completes.
- state
- Object
An object to be passed back to the callback.
Returns
An IAsyncResult that references this operation.
Exceptions
roomInfo
is null.
The PersistentChatEndpoint is not established.
The chat server connection is not in a valid state to send the command.
The PersistentChatEndpoint encountered an error communicating with the chat server.
Applies to
BeginUpdateChatRoom(ChatRoomInformation, AsyncCallback, Object)
Update the chat room properties with the given ChatRoomInformation. This request will be processed asynchronously. See EndUpdateChatRoom(IAsyncResult) to complete this asynchronous operation.
public:
IAsyncResult ^ BeginUpdateChatRoom(Microsoft::Rtc::Collaboration::PersistentChat::Management::ChatRoomInformation ^ info, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginUpdateChatRoom (Microsoft.Rtc.Collaboration.PersistentChat.Management.ChatRoomInformation info, AsyncCallback userCallback, object state);
member this.BeginUpdateChatRoom : Microsoft.Rtc.Collaboration.PersistentChat.Management.ChatRoomInformation * AsyncCallback * obj -> IAsyncResult
Public Function BeginUpdateChatRoom (info As ChatRoomInformation, userCallback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- info
- ChatRoomInformation
The information to update on the chat room.
- userCallback
- AsyncCallback
The method to be invoked when this asynchronous operation completes.
- state
- Object
An object to be passed back to the callback.
Returns
An IAsyncResult that references this operation.
Exceptions
info
is null.
The PersistentChatEndpoint is not established.
The chat server connection is not in a valid state to send the command.
The PersistentChatEndpoint encountered an error communicating with the chat server.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for