Edit

Share via


ChatRoomManagementServices.BeginFindChatRoomsByParentCategory Method

Definition

Finds all chat rooms in the parent category referenced by the specified category Uri. This request will be processed asynchronously. See EndFindChatRoomsByParentCategory(IAsyncResult) to complete this asynchronous operation.

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

Parameters

parentCategory
Uri

The parent category.

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

parentCategory is an invalid category URI.

parentCategory is null.

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