Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- passThroughHeaders
Type: System.Collections.Generic.IEnumerable<String>
Enumeration of pass through header names.
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.