MessageHeader<T>::GetUntypedHeader Method (String^, String^)

 

Gets the message header with the specified namespace and local name.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
MessageHeader^ GetUntypedHeader(
	String^ name,
	String^ ns
)

Parameters

name
Type: System::String^

The local name of the header XML element

ns
Type: System::String^

The namespace URI of the header XML element.

Return Value

Type: System.ServiceModel.Channels::MessageHeader^

A message header with the specified namespace and local name.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Return to top
Show: