MessageFault.WasHeaderNotUnderstood Method (MessageHeaders, String, String)

 

Gets a value indicating whether the SOAP message headers were understood.

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

public static bool WasHeaderNotUnderstood(
	MessageHeaders headers,
	string name,
	string ns
)

Parameters

headers
Type: System.ServiceModel.Channels.MessageHeaders

The SOAP message headers.

name
Type: System.String

The name of the header element.

ns
Type: System.String

The namespace of the header element.

Return Value

Type: System.Boolean

true if message headers were understood; otherwise, false. The default is false.

.NET Framework
Available since 3.0
Return to top
Show: