MessageHeaderException Constructor (String, Boolean)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the MessageHeaderException class using the specified message and a value that indicates whether the message header is a duplicate or is missing.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- message
- Type: System.String
The exception message.
- isDuplicate
- Type: System.Boolean
true if the multiple message header is a duplicate; false if there are no message headers.
Show: