Message.GetHeaders
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
The GetHeaders method obtains an IEnumerator interface for access to a type-filtered collection of headers set on the message.
public IEnumerator GetHeaders(
string type
);
Public Function GetHeaders( _
ByVal type As string _
)
As IEnumerator
- type
Header type to return in the collection, such as "To" or "Contact". To return all of the headers set on the message in the collection, set this parameter to "*".
Returns an IEnumerator interface used to access the header collection.
Each object in the collection is of type Header.
Redistributable: Requires Microsoft Office Communications Server 2007 R2.
Namespace:Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)