MessageHeaderException Constructor (String, String, 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, header name, and namespace, and a value that indicates whether the message header is a duplicate or is missing.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Public Sub New ( _ message As String, _ headerName As String, _ ns As String, _ isDuplicate As Boolean _ )
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.
Show: