BackToBackCall Constructor

Creates an instance of the BackToBackCall class for the specified call legs.

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

Syntax

'Declaration
Public Sub New ( _
    call1Settings As BackToBackCallSettings, _
    call2Settings As BackToBackCallSettings _
)
'Usage
Dim call1Settings As BackToBackCallSettings
Dim call2Settings As BackToBackCallSettings

Dim instance As New BackToBackCall(call1Settings, _
    call2Settings)
public BackToBackCall(
    BackToBackCallSettings call1Settings,
    BackToBackCallSettings call2Settings
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Thrown when call1Settings or call2Settings is null.

ArgumentException

Thrown when a combination of call1Settings and call2Settings is not acceptable for BackToBackCall.

Remarks

BackToBackCall can be used to create a back-to-back channel between an incoming call and a new outgoing call.

Before creating a BackToBackCall instance, create and initialize two CallSettings instances - one for the incoming call and the other for the outgoing idle call.

See Also

Reference

BackToBackCall Class

BackToBackCall Members

Microsoft.Rtc.Collaboration Namespace