Creates and joins an ad-hoc conference.

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

Syntax

Visual Basic (Declaration)
Public 
Function 
BeginJoin ( _
	
userCallback 
As 
AsyncCallback, _
	
state 
As 
Object _
) 
As 
IAsyncResult
C#
public 
IAsyncResult 
BeginJoin(
	
AsyncCallback 
userCallback,
	
Object 
state
)
Visual C++
public:
IAsyncResult^ 
BeginJoin(
	
AsyncCallback^ 
userCallback, 
	
Object^ 
state
)
JavaScript
function 
beginJoin(
userCallback, 
state);

Parameters

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

Return Value

An IAsyncResult that references the asynchronous operation.

Remarks

Joining a conference is required to receive roster events on the ConferenceSessionand McuSessionderivatives.

The platform schedules a conference valid for 8 hours with an MCU for all the available MCU factories. However, the audio-video MCU will only be scheduled if inband provisioning data for the endpoint is available and indicates that the endpoint owner is provisioned for audio.

Exceptions

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

See Also