Completes the asynchronous request initiated by BeginSetPreferenceBundle(GroupChatPreferenceBundle, AsyncCallback, Object) .
Assembly: Microsoft.Rtc.Collaboration.GroupChat(in Microsoft.Rtc.Collaboration.GroupChat.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function EndSetPreferenceBundle ( _ asyncResult As IAsyncResult _ ) As Integer |
Visual Basic (Usage) |
---|
Dim instance As GroupChatServices Dim asyncResult As IAsyncResult Dim returnValue As Integer returnValue = instance. EndSetPreferenceBundle( asyncResult) |
C# |
---|
public int EndSetPreferenceBundle( IAsyncResult asyncResult ) |
Parameters
- asyncResult
- Type:
System
.
.
::
.
.
IAsyncResult
The IAsyncResult that references this operation.
Return Value
Type: System . . :: . . Int32The new sequence ID of the preference bundle, as set by the group chat server.
Exceptions
Exception | Condition |
---|---|
[System.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. |