ExceptionEventArgs.ErrorException Property

Gets the exception that details the cause of the failure.

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

member ErrorException : Exception with get

Property Value

Type: System.Exception
The exception that details the error condition.

ExceptionCondition
SecurityException

The attempt to access the media or image file is denied.

FileNotFoundException

The media or image file is not found.

FileFormatException

The media or image format is not supported by any installed codec.

-or-

The file format is not recognized.

InvalidWmpVersionException

The detected version of Microsoft Windows Media Player is not supported.

NotSupportedException

The operation is not supported.

COMException

A COM error code appears.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft