Waits for the pending asynchronous join operation to complete.

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
EndJoin ( _
	
result 
As 
IAsyncResult _
)
C#
public 
void 
EndJoin(
	
IAsyncResult 
result
)
Visual C++
public:
void 
EndJoin(
	
IAsyncResult^ 
result
)
JavaScript
function 
endJoin(
result);

Parameters

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

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 join operation fails if the conference was locked and the local participant was placed in conference lobby.

Exceptions

Exception Condition
Microsoft.Rtc.Signaling . . :: . OperationTimeoutException Thrown when joning a conference timed out waiting for a reply.
Microsoft.Rtc.Collaboration . . :: . ConferenceFailureException Thrown when joning a conference failed with a Centralized Conference Control Protocol (C3P) body in the response.
Microsoft.Rtc.Signaling . . :: . OperationFailureException Thrown when joining a locked conference.
Microsoft.Rtc.Signaling . . :: . RealTimeException Thrown when joining a conference failed without a C3P body in the response.

See Also