Edit

Share via


LobbyManager.EndDenyLobbyParticipants(IAsyncResult) Method

Definition

Waits for the pending asynchronous operation to complete.

public:
 Microsoft::Rtc::Collaboration::LobbyOperationResponse ^ EndDenyLobbyParticipants(IAsyncResult ^ result);
public Microsoft.Rtc.Collaboration.LobbyOperationResponse EndDenyLobbyParticipants (IAsyncResult result);
member this.EndDenyLobbyParticipants : IAsyncResult -> Microsoft.Rtc.Collaboration.LobbyOperationResponse
Public Function EndDenyLobbyParticipants (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 denied access into the conference and those participants who were not successfully denied 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