Share via


LobbyManager.BeginDenyLobbyParticipants Method (IEnumerable<ConversationParticipant>, AsyncCallback, Object)

Denies lobby participants admission into conference and removes them from the lobby.

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

Syntax

'Declaration
Public Function BeginDenyLobbyParticipants ( _
    lobbyParticipants As IEnumerable(Of ConversationParticipant), _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As LobbyManager
Dim lobbyParticipants As IEnumerable(Of ConversationParticipant)
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginDenyLobbyParticipants(lobbyParticipants, _
    userCallback, state)
public IAsyncResult BeginDenyLobbyParticipants(
    IEnumerable<ConversationParticipant> lobbyParticipants,
    AsyncCallback userCallback,
    Object state
)

Parameters

  • userCallback
    Type: System.AsyncCallback
    The method to be called when the asynchronous operation is completed.
  • state
    Type: System.Object
    A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Return Value

Type: System.IAsyncResult
An IAsyncResult that references the asynchronous operation.

Exceptions

Exception Condition
InvalidOperationException

Thrown when the operation is not valid at the given conference session state.

ArgumentNullException

Thrown when the lobbyParticipants is set to null.

ArgumentException

Thrown when the lobbyParticipants is an empty list.

Remarks

Only conference leaders can perform this operation.

See Also

Reference

LobbyManager Class

LobbyManager Members

BeginDenyLobbyParticipants Overload

Microsoft.Rtc.Collaboration Namespace