PersistentChatUserServices.EndGetUser(IAsyncResult) Method

Definition

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

public:
 Microsoft::Rtc::Collaboration::PersistentChat::Management::PersistentChatUser ^ EndGetUser(IAsyncResult ^ asyncResult);
public Microsoft.Rtc.Collaboration.PersistentChat.Management.PersistentChatUser EndGetUser (IAsyncResult asyncResult);
member this.EndGetUser : IAsyncResult -> Microsoft.Rtc.Collaboration.PersistentChat.Management.PersistentChatUser
Public Function EndGetUser (asyncResult As IAsyncResult) As PersistentChatUser

Parameters

asyncResult
IAsyncResult

The IAsyncResult that references this operation.

Returns

The requested user.

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