Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MessageHeaderException Constructor (String^, String^, String^, Exception^)

 

Initializes a new instance of the MessageHeaderException class using the specified message, header name and namespace, and the inner exception that caused the exception.

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

public:
MessageHeaderException(
	String^ message,
	String^ headerName,
	String^ ns,
	Exception^ innerException
)

Parameters

message
Type: System::String^

The exception message.

headerName
Type: System::String^

The name of the message header.

ns
Type: System::String^

The namespace of the message header.

innerException
Type: System::Exception^

The Exception that contains the inner exception that caused the exception.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft