The Headerclass defines a SIP header.. A Headerinstance may belong to multiple HeaderCollectioninstances.
The Headerclass is derived from the System.Objectclass.
The Headertype exposes the following members.
Constructors
Name | Description | |
---|---|---|
Header () () () () | The Headerconstructor initializes a new instance of the Headerclass without a specified type or value. | |
Header(String) | Creates a new header object with a specified header type. | |
Header(Header . . :: . . StandardHeaderType) | Creates a new header object with a specified standard header type. | |
Header(String, String) | The Headerconstructor creates a new instance of the Headerclass of the specified SIP header type, with the specified value. | |
Header(Header . . :: . . StandardHeaderType, String) | Creates a new header object with a specified standard header type and value. |
Properties
Name | Description | |
---|---|---|
IsReadOnly | The IsReadOnlyproperty indicates whether the SIP header is read-only. | |
Parameters | The Parametersproperty contains the parameters for the SIP header as a collection of name/value pairs. | |
StandardType | Efficient representation of common SIP header types. | |
Type | The Typeproperty contains the SIP header type as a string. | |
Value | The Valueproperty contains the SIP header value as a string. | |
ValueNoParameters | The ValueNoParametersproperty contains the SIP header value as a string, minus any attached parameters. |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetParameters | Protected method that is used to retrieve header parameters. Derived classes can override this method, for example, to synthesize parameters from an internal representation. | |
GetType | (Inherited from Object.) | |
GetValue | Protected method that is used to retrieve the header value. Derived classes can override this method, for example, to synthesize the value from an internal representation. | |
GetValueNoParameters | Protected method that is used to retrieve the header value without parameters. Derived classes can override this method, for example, to synthesize the value from an internal representation. | |
MemberwiseClone | (Inherited from Object.) | |
ParseHeaderValue | Protected helper method that parses a string into a header value and parameters. | |
SetMarshaled | Updates state to Marshaled.(Overrides ReplicatedObjectSetMarshaled () () () () .) | |
SetParameters | Protected method that is used to set header parameters. Derived classes can override this method, for example, to parse parameters into an internal representation. | |
SetValue | Protected method that is used to set the header value. A derived class can override this method, for example, to parse the value into an internal representation. | |
SetValueNoParameters | Protected method that is used to set the header value without parameters. A derived class can override this method, for example, to parse the value into an internal representation. | |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
parameters | Private storage of header parameters. Derived classes may either use this field for their storage, or provide their own. This field is used by this class's implementation of the GetParameters () () () () and SetParameters(NameValueCollection) method. | |
value | Private storage of the header value. Derived classes may either use this field for their storage, or provide their own. This field is used by this class's implementation of GetValue () () () () and SetValue(String) . | |
valueNoParameters | Index into header of end of the value portion, excluding parameters. Classes may either use this field for their storage, or provide their own. This field is used by this class's implementation of GetValueNoParameters () () () () and SetValueNoParameters(String) . |