Share via


Header.Header (String)

Header.Header (String)

The Header.Header (String, String) constructor creates a new instance of the Header class of the specified SIP header type.

Syntax

[C#]

public Header(
  String type
);

Syntax

[Visual Basic .NET]

Public Sub New( _
  ByVal type 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.

Remarks

This constructor creates a header with an empty value that should be populated.

Requirements

Redistributable: Requires Microsoft Lync Server 2010

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also

Concepts

Header Properties

Header Constructors

Header