ErrorException Property
Collapse the table of content
Expand the table of content

ExceptionRoutedEventArgs.ErrorException Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the underlying exception or native-level error reported by the event.

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

'Declaration
Public ReadOnly Property ErrorException As Exception

Property Value

Type: System.Exception
The exception being reported.

In Windows Phone, many of the possible asynchronous errors are coming from native code that handles the request or a subsystem such as image decoding. The value of ErrorException might surface the native error.. The errors and exceptions obtained as ErrorException are not intended for display to end users because they do not report localized strings that are specific to the executing client.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft