ConferenceSession.EndJoin(IAsyncResult) Method

Definition

Waits for the pending asynchronous join operation to complete.

public:
 void EndJoin(IAsyncResult ^ result);
public void EndJoin (IAsyncResult result);
member this.EndJoin : IAsyncResult -> unit
Public Sub EndJoin (result As IAsyncResult)

Parameters

result
IAsyncResult

The reference to the pending asynchronous operation.

Exceptions

Thrown when joining a conference timed out waiting for a reply or if the participant was placed in the lobby for a period larger than that set in LobbyTimeout.

Thrown when joining a conference failed with a Centralized Conference Control Protocol (C3P) body in the response or when the participant is placed in the lobby and then was denied access or removed from the conference by a leader.

Thrown when the participant was disconnected from the lobby due to a reason other than being denied access or removed from the conference by a leader.

Thrown for other failures including when the lobby wait period is set to zero in LobbyTimeout.

Thrown when joining a conference failed without a C3P body in the response.

Remarks

The conference session state will transition to Connected if the join operation is successful. If unsuccessful, the conference session cleans up its state and transitions to Idle.

The method will throw an OperationFailureException if the lobby wait period was set to zero in LobbyTimeout.

If the participant was placed in the lobby and then denied access or removed from the conference, a ConferenceFailureException will be thrown with Reason set to UserDenied or UserRemoved.

Applies to