Bewerken

Delen via


MessageHeader<T>.GetUntypedHeader(String, String) Method

Definition

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

public:
 System::ServiceModel::Channels::MessageHeader ^ GetUntypedHeader(System::String ^ name, System::String ^ ns);
public System.ServiceModel.Channels.MessageHeader GetUntypedHeader (string name, string ns);
member this.GetUntypedHeader : string * string -> System.ServiceModel.Channels.MessageHeader
Public Function GetUntypedHeader (name As String, ns As String) As MessageHeader

Parameters

name
String

The local name of the header XML element.

ns
String

The namespace URI of the header XML element.

Returns

A message header with the specified namespace and local name.

Applies to