Partilhar via


BackToBackCall.SetPassThroughHeaderNames Method

Sets the list of header names that must be passed from one call leg to the other call leg.

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

Syntax

'Declaration
Public Sub SetPassThroughHeaderNames ( _
    passThroughHeaders As IEnumerable(Of String) _
)
'Usage
Dim instance As BackToBackCall
Dim passThroughHeaders As IEnumerable(Of String)

instance.SetPassThroughHeaderNames(passThroughHeaders)
public void SetPassThroughHeaderNames(
    IEnumerable<string> passThroughHeaders
)

Parameters

Exceptions

Exception Condition
InvalidOperationException

Thrown when method is invoked and BackToBackCall state is not Idle.

Remarks

If a restricted header name is specified in the pass-through header list, it will be ignored and will not be passed from one call leg to the other call leg.

See Also

Reference

BackToBackCall Class

BackToBackCall Members

Microsoft.Rtc.Collaboration Namespace