MessageHeaderException Constructor (String^, String^, String^, Boolean, Exception^)
.NET Framework (current version)
Initializes a new instance of the MessageHeaderException class using the specified message, header name and namespace, a value that indicates whether the message header is a duplicate or is missing, and the inner exception that caused the exception.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: MessageHeaderException( String^ message, String^ headerName, String^ ns, bool isDuplicate, 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.
- isDuplicate
-
Type:
System::Boolean
true if the multiple message header is a duplicate; false if there are no message headers.
- 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
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
Show: