PersistentChatServices.EndGetPreferenceBundle(IAsyncResult) Method

Definition

Completes the asynchronous request initiated by BeginGetPreferenceBundle(String, Int32, Boolean, AsyncCallback, Object)

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

Parameters

asyncResult
IAsyncResult

The IAsyncResult that references this operation.

Returns

The requested preference bundle, or null if no preference was found.

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