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

DataException 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 DataException class with the specified error message and a reference to the inner exception that is the cause of this exception.

Namespace:  System.Data
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

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

Parameters

message
Type: System.String
The message that describes the error.
innerException
Type: System.Exception
The exception that is the cause of the current exception.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft