ConferenceSession.BeginJoin Method (AsyncCallback, Object)

NOTE: This API is now obsolete.

This method will be removed from future versions. Instead, use BeginJoin(ConferenceJoinOptions, AsyncCallback, Object) to join a conference. Creates and joins an ad-hoc conference.

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

Syntax

'Declaration
<ObsoleteAttribute("This method will be removed from future versions. Use BeginJoin(ConferenceJoinOptions options,AsyncCallback userCallback, object state) or BeginJoin(string conferenceUri,ConferenceJoinOptions options,AsyncCallback userCallback, object state)")> _
Public Function BeginJoin ( _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As ConferenceSession
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginJoin(userCallback, _
    state)
[ObsoleteAttribute("This method will be removed from future versions. Use BeginJoin(ConferenceJoinOptions options,AsyncCallback userCallback, object state) or BeginJoin(string conferenceUri,ConferenceJoinOptions options,AsyncCallback userCallback, object state)")]
public IAsyncResult BeginJoin(
    AsyncCallback userCallback,
    Object state
)

Parameters

  • 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.

Remarks

Joining a conference is required to receive roster events on the ConferenceSession and McuSession derivatives.

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.

See Also

Reference

ConferenceSession Class

ConferenceSession Members

BeginJoin Overload

Microsoft.Rtc.Collaboration Namespace