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

StrongTypingException 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 StrongTypingException class with the specified string and inner exception.

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

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

Parameters

s
Type: System.String
The string to display when the exception is thrown.
innerException
Type: System.Exception
A reference to an inner exception.

The StrongTypingException class is not intended for use as a stand-alone component, but as a class from which other classes derive standard functionality.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft