ChatRoomManagementServices.EndCreateChatRoom(IAsyncResult) Method

Definition

Completes the asynchronous request initiated by BeginCreateChatRoom(ChatRoomSettings, AsyncCallback, Object)

public:
 Uri ^ EndCreateChatRoom(IAsyncResult ^ asyncResult);
public Uri EndCreateChatRoom (IAsyncResult asyncResult);
member this.EndCreateChatRoom : IAsyncResult -> Uri
Public Function EndCreateChatRoom (asyncResult As IAsyncResult) As Uri

Parameters

asyncResult
IAsyncResult

The IAsyncResult that references this operation.

Returns

Uri

The URI of the newly created chat room.

Exceptions

asyncResult is null.

The chat server encountered an error processing the request.

The PersistentChatEndpoint encountered an error communicating with the chat server.

This method was invoked multiple times with the same IAsyncResult instance.

Applies to