MessageHeaderException Constructor (String, String, String, Exception)

MessageHeaderException Constructor (String, String, String, Exception)

[ 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 the inner exception that caused the exception.

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

'Declaration
Public Sub New ( _
	message As String, _
	headerName As String, _
	ns As String, _
	innerException As Exception _
)

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft