Share via


ChatRoomCategoryManagementServices.EndGetChatRoomCategory Method

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

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

Syntax

'Declaration
Public Function EndGetChatRoomCategory ( _
    asyncResult As IAsyncResult _
) As ChatRoomCategory
'Usage
Dim instance As ChatRoomCategoryManagementServices
Dim asyncResult As IAsyncResult
Dim returnValue As ChatRoomCategory

returnValue = instance.EndGetChatRoomCategory(asyncResult)
public ChatRoomCategory EndGetChatRoomCategory(
    IAsyncResult asyncResult
)

Parameters

Return Value

Type: Microsoft.Rtc.Collaboration.GroupChat.ChatRoomCategory
The requested category.

Exceptions

Exception Condition
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.

See Also

Reference

ChatRoomCategoryManagementServices Class

ChatRoomCategoryManagementServices Members

Microsoft.Rtc.Collaboration.GroupChat.Management Namespace