ExceptionRoutedEventArgs.ErrorException Property

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

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

public Exception ErrorException { get; }

Property Value

Type: System.Exception
The exception being reported.

In Silverlight, 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. For a table of native-level errors and their meanings, see Error Messages. 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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: