LobbyManager.EndAdmitLobbyParticipants Method
Waits for the pending asynchronous operation to complete.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function EndAdmitLobbyParticipants ( _
result As IAsyncResult _
) As LobbyOperationResponse
'Usage
Dim instance As LobbyManager
Dim result As IAsyncResult
Dim returnValue As LobbyOperationResponse
returnValue = instance.EndAdmitLobbyParticipants(result)
public LobbyOperationResponse EndAdmitLobbyParticipants(
IAsyncResult result
)
Parameters
- result
Type: System.IAsyncResult
The reference to the pending asynchronous operation.
Return Value
Type: Microsoft.Rtc.Collaboration.LobbyOperationResponse
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
Exception | Condition |
---|---|
OperationTimeoutException | Thrown when the operation times out while waiting for a response. |
ConferenceFailureException | Thrown when admitting the participants failed with a Centralized Conference Control Protocol (C3P) body in the response. |
RealTimeException | 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 LobbyAccessCommandResponse object will indicate that processing failed for that user.