PersistentChatServices.BeginSetPreferenceBundle Method

Definition

Save the given preference bundle, and increment the SequenceId

public:
 IAsyncResult ^ BeginSetPreferenceBundle(Microsoft::Rtc::Collaboration::PersistentChat::PersistentChatPreferenceBundle ^ prefBundle, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginSetPreferenceBundle (Microsoft.Rtc.Collaboration.PersistentChat.PersistentChatPreferenceBundle prefBundle, AsyncCallback userCallback, object state);
member this.BeginSetPreferenceBundle : Microsoft.Rtc.Collaboration.PersistentChat.PersistentChatPreferenceBundle * AsyncCallback * obj -> IAsyncResult
Public Function BeginSetPreferenceBundle (prefBundle As PersistentChatPreferenceBundle, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

prefBundle
PersistentChatPreferenceBundle

The persistent chat preference bundle.

userCallback
AsyncCallback

The method to be invoked when this asynchronous operation completes.

state
Object

An object to be passed back to the callback.

Returns

An IAsyncResult that references this operation.

Exceptions

prefBundle has invalid values. The exception contains details about the error.

prefBundle is null.

The chat server connection is not in a valid state to send the command.

The PersistentChatEndpoint encountered an error communicating with the chat server.

Remarks

This request will be processed asynchronously. See EndSetPreferenceBundle(IAsyncResult) to complete this asynchronous operation.

Applies to