EndBrowseChatRoomsByInvitations Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Completes the asynchronous request initiated by BeginBrowseChatRoomsByInvitations(Int32, AsyncCallback, Object).

Namespace: Microsoft.Rtc.Collaboration.GroupChat
Assembly: Microsoft.Rtc.Collaboration.GroupChat (in Microsoft.Rtc.Collaboration.GroupChat.dll)


Public Function EndBrowseChatRoomsByInvitations ( _
    asyncResult As IAsyncResult, _
    <OutAttribute> ByRef lastInviteID As Integer _
) As ReadOnlyCollection(Of ChatRoomSnapshot)
Dim instance As GroupChatServices
Dim asyncResult As IAsyncResult
Dim lastInviteID As Integer
Dim returnValue As ReadOnlyCollection(Of ChatRoomSnapshot)

returnValue = instance.EndBrowseChatRoomsByInvitations(asyncResult, _
public ReadOnlyCollection<ChatRoomSnapshot> EndBrowseChatRoomsByInvitations(
    IAsyncResult asyncResult,
    out int lastInviteID


  • lastInviteID
    Type: System.Int32
    The lastInviteID returned from this request.

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ChatRoomSnapshot>
A collection of ChatRoomSnapshot objects describing chat rooms to which the user has been invited. See BeginBrowseChatRoomsByInvitations(Int32, AsyncCallback, Object).


Exception Condition

Thrown when invalid arguments are passed.


Thrown when the chat server encountered an error processing the request.


Thrown when the GroupChatEndpoint encounters an error communicating with the group chat server.


Thrown when invoked multiple times with the same asyncResult.

See Also


GroupChatServices Class

GroupChatServices Members

Microsoft.Rtc.Collaboration.GroupChat Namespace