EndBrowseChatRoomsByJoinedUser Method

GroupChatServices.EndBrowseChatRoomsByJoinedUser Method

Completes the asynchronous request initiated by BeginBrowseChatRoomsByJoinedUser(Uri, AsyncCallback, Object).

Namespace: Microsoft.Rtc.Collaboration.GroupChat
Assembly:  Microsoft.Rtc.Collaboration.GroupChat (in Microsoft.Rtc.Collaboration.GroupChat.dll)

public ReadOnlyCollection<ChatRoomSnapshot> EndBrowseChatRoomsByJoinedUser(
	IAsyncResult asyncResult
)

Parameters

asyncResult
Type: System.IAsyncResult
The IAsyncResult that references this operation.

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ChatRoomSnapshot>
A collection of ChatRoomSnapshot objects describing chat rooms to which the specified user is presently joined.

ExceptionCondition
[System.ArgumentException]

Thrown when invalid arguments are passed.

[Microsoft.Rtc.Collaboration.GroupChat.CommandFailedException]

Thrown when the chat server encountered an error processing the request.

[RealTimeException]

Thrown when the GroupChatEndpoint encounters an error communicating with the group chat server.

[System.InvalidOperationException]

Thrown when invoked multiple times with the same asyncResult.

Show:
© 2016 Microsoft