DataMisalignedException Constructor (String, Exception)
Collapse the table of content
Expand the table of content

DataMisalignedException Constructor (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 DataMisalignedException class using the specified error message and underlying exception.

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

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

Parameters

message
Type: System.String
A String object that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
innerException
Type: System.Exception
The exception that is the cause of the current DataMisalignedException. If the innerException parameter is not Nothing, the current exception is raised in a catch block that handles the inner exception.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft