Header Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Header() |
The Header constructor initializes a new instance of the Header class without a specified type or value. |
Header(Header+StandardHeaderType) |
Creates a new header object with a specified standard header type. |
Header(String) |
Creates a new header object with a specified header type. |
Header(Header+StandardHeaderType, String) |
Creates a new header object with a specified standard header type and value. |
Header(String, String) |
The Header constructor creates a new instance of the Header class of the specified SIP header type, with the specified value. |
Header()
The Header constructor initializes a new instance of the Header class without a specified type or value.
protected public:
Header();
protected internal Header ();
Protected Friend Sub New ()
Applies to
Header(Header+StandardHeaderType)
Creates a new header object with a specified standard header type.
public:
Header(Microsoft::Rtc::Sip::Header::StandardHeaderType standardType);
public Header (Microsoft.Rtc.Sip.Header.StandardHeaderType standardType);
Public Sub New (standardType As Header.StandardHeaderType)
Parameters
- standardType
- Header.StandardHeaderType
Applies to
Header(String)
Creates a new header object with a specified header type.
public:
Header(System::String ^ type);
public Header (string type);
Public Sub New (type As String)
Parameters
- type
- String
Remarks
This constructor creates a header with an empty value that should be populated.
Applies to
Header(Header+StandardHeaderType, String)
Creates a new header object with a specified standard header type and value.
public:
Header(Microsoft::Rtc::Sip::Header::StandardHeaderType standardType, System::String ^ value);
public Header (Microsoft.Rtc.Sip.Header.StandardHeaderType standardType, string value);
Public Sub New (standardType As Header.StandardHeaderType, value As String)
Parameters
- standardType
- Header.StandardHeaderType
- value
- String
Applies to
Header(String, String)
The Header constructor creates a new instance of the Header class of the specified SIP header type, with the specified value.
public:
Header(System::String ^ type, System::String ^ value);
public Header (string type, string value);
Public Sub New (type As String, value As String)
Parameters
- type
- String
- value
- String
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for