ExceptionEventArgs.ErrorException Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the exception that details the cause of the failure.

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

Public ReadOnly Property ErrorException As Exception

Property Value

Type: System.Exception

The exception that details the error condition.

Exception Condition
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
Available since 3.0
Return to top
Show: