ChatRoomManagementServices.EndGetChatRoom Method
Completes the asynchronous request initiated by BeginGetChatRoom(String, AsyncCallback, Object) or BeginGetChatRoom(Uri, AsyncCallback, Object).
Namespace: Microsoft.Rtc.Collaboration.GroupChat.Management
Assembly: Microsoft.Rtc.Collaboration.GroupChat (in Microsoft.Rtc.Collaboration.GroupChat.dll)
Syntax
'Declaration
Public Function EndGetChatRoom ( _
asyncResult As IAsyncResult _
) As ChatRoom
'Usage
Dim instance As ChatRoomManagementServices
Dim asyncResult As IAsyncResult
Dim returnValue As ChatRoom
returnValue = instance.EndGetChatRoom(asyncResult)
public ChatRoom EndGetChatRoom(
IAsyncResult asyncResult
)
Parameters
- asyncResult
Type: System.IAsyncResult
The IAsyncResult that references this operation.
Return Value
Type: Microsoft.Rtc.Collaboration.GroupChat.ChatRoom
The requested chat room
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
ChatRoomManagementServices Class