Share via


SipUriParser.FindHeader Method

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.

Return the header-specific header matching with name.

Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in microsoft.rtc.collaboration.dll)

Syntax

'Declaration
Public Function FindHeader ( _
    headerName As String _
) As SignalingHeader
public SignalingHeader FindHeader (
    string headerName
)

Parameters

  • headerName
    The name of the header to find.

Return Value

Return the header-specific header matching with name. Return null if no matching header is found.

Remarks

If multiple headers with same name exist in the URI, it returns the first matching header only. User should use the GetHeaders() function to enumerate all headers.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

SipUriParser Class
SipUriParser Members
Microsoft.Rtc.Signaling Namespace