Edit

Share via


ChatRoomManagementServices.BeginGetPresenters Method

Definition

Gets the presenters of the specified chat room. Presenters are the members of a chat room who may post new messages when the type of the chat room is set to IsAuditorium This request will be processed asynchronously. See EndGetManagers(IAsyncResult) to complete this asynchronous operation.

public:
 IAsyncResult ^ BeginGetPresenters(Uri ^ chatRoomUri, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginGetPresenters (Uri chatRoomUri, AsyncCallback userCallback, object state);
member this.BeginGetPresenters : Uri * AsyncCallback * obj -> IAsyncResult
Public Function BeginGetPresenters (chatRoomUri As Uri, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

chatRoomUri
Uri

The chat room URI.

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

chatRoomUri is null.

chatRoomUri is not a valid chat room URI.

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