MessageHeaderException Constructor (String)

MessageHeaderException Constructor (String)

[ 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 with the specified message.

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

'Declaration
Public Sub New ( _
	message As String _
)

Parameters

message
Type: System.String
The message carried in the exception.

Use this constructor when you want to pass an error message to the user. The content of the message parameter should be understandable to the intended users.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft