Edit

Share via


BackToBackCall.SetPassThroughHeaderNames(IEnumerable<String>) Method

Definition

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

public:
 void SetPassThroughHeaderNames(System::Collections::Generic::IEnumerable<System::String ^> ^ passThroughHeaders);
public void SetPassThroughHeaderNames (System.Collections.Generic.IEnumerable<string> passThroughHeaders);
member this.SetPassThroughHeaderNames : seq<string> -> unit
Public Sub SetPassThroughHeaderNames (passThroughHeaders As IEnumerable(Of String))

Parameters

passThroughHeaders
IEnumerable<String>

Enumeration of pass through header names.

Exceptions

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.

Applies to