Header.Header (String, String)

The Header constructor creates a new instance of the Header class of the specified SIP header type, with the specified value.

Syntax

[C#]

  Copy imageCopy Code
public Header(
  String type,
  String value
);

Syntax

[Visual Basic .NET]

  Copy imageCopy Code
Public Sub New( _
  ByVal type As String, _
  ByVal value As String _
)

Parameters

type

Specifies the SIP header type (such as "Route" or "Subject"). The short form for specific headers (such as "C" for "Contact") as defined in RFC 3261 can be used for this parameter.

value

Specifies the value for this header type.

Requirements

Redistributable: Requires Microsoft Lync Server 2010

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also