LobbyManager.BeginAdmitLobbyParticipants Method (IEnumerable<ConversationParticipant>, AsyncCallback, Object)
Admits lobby participants into the conference.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function BeginAdmitLobbyParticipants ( _
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.BeginAdmitLobbyParticipants(lobbyParticipants, _
userCallback, state)
public IAsyncResult BeginAdmitLobbyParticipants(
IEnumerable<ConversationParticipant> lobbyParticipants,
AsyncCallback userCallback,
Object state
)
Parameters
- lobbyParticipants
Type: System.Collections.Generic.IEnumerable<ConversationParticipant>
A list of the lobby participants to admit into the conference.
- 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 lobbyParticipants is set to null. |
ArgumentException | Thrown when lobbyParticipants is an empty collection or contains a null member. |
Remarks
Only conference leaders are allowed to perform this operation.