Edit

Share via


LobbyManager.EndAdmitLobbyParticipants(IAsyncResult) Method

Definition

Waits for the pending asynchronous operation to complete.

public:
 Microsoft::Rtc::Collaboration::LobbyOperationResponse ^ EndAdmitLobbyParticipants(IAsyncResult ^ result);
public Microsoft.Rtc.Collaboration.LobbyOperationResponse EndAdmitLobbyParticipants (IAsyncResult result);
member this.EndAdmitLobbyParticipants : IAsyncResult -> Microsoft.Rtc.Collaboration.LobbyOperationResponse
Public Function EndAdmitLobbyParticipants (result As IAsyncResult) As LobbyOperationResponse

Parameters

result
IAsyncResult

The reference to the pending asynchronous operation.

Returns

A response to the command indicating with participants were successfully admitted into the lobby and those participants who were not including the failure reason.

Exceptions

Thrown when the operation times out while waiting for a response.

Thrown when admitting the participants failed with a Centralized Conference Control Protocol (C3P) body in the response.

Thrown when admitting participant\s failed without a C3P body in the response.

Remarks

An exception is thrown when the server fails to process the command as a whole. If, however, the server fails to process the command for one user (or more), no exception will be thrown but the returned Microsoft.Rtc.Collaboration.Conferencing.LobbyAccessCommandResponse object will indicate that processing failed for that user.

Applies to