Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ExceptionEventArgs::ErrorException Property

 

Gets the exception that details the cause of the failure.

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

public:
property Exception^ ErrorException {
	Exception^ get();
}

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:
© 2017 Microsoft