SignalingHeader 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
SignalingHeader(SerializationInfo, StreamingContext) |
Creates a new instance of the SignalingHeader class with serialized data. |
SignalingHeader(String, String) |
Initializes a new instance of SignalingHeader used by the application to add an extension header to a SIP message. |
SignalingHeader(SerializationInfo, StreamingContext)
Creates a new instance of the SignalingHeader class with serialized data.
protected:
SignalingHeader(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SignalingHeader (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Rtc.Signaling.SignalingHeader : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Rtc.Signaling.SignalingHeader
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The object that holds the serialized object data.
- context
- StreamingContext
The contextual information about the source or destination.
Applies to
SignalingHeader(String, String)
Initializes a new instance of SignalingHeader used by the application to add an extension header to a SIP message.
public:
SignalingHeader(System::String ^ name, System::String ^ value);
public SignalingHeader (string name, string value);
new Microsoft.Rtc.Signaling.SignalingHeader : string * string -> Microsoft.Rtc.Signaling.SignalingHeader
Public Sub New (name As String, value As String)
Parameters
- name
- String
The name of the header.
- value
- String
The value of the header.
Exceptions
Thrown when name or value are passed as null.
Thrown when name or value parameters length exceeded the size limit for header name and value.
Thrown if the name/value pair does not constitute a valid header.