ConferenceSession.EndJoin Method

Waits for the pending asynchronous join operation to complete.

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

public void EndJoin(
	IAsyncResult result
)

Parameters

result
Type: System.IAsyncResult
The reference to the pending asynchronous operation.

ExceptionCondition
OperationTimeoutException

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.

ConferenceFailureException

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.

FailureRequestException

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.

OperationFailureException

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

RealTimeException

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

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.

Show: