Share via


Windows Media Player 11 SDK ErrorItem.errorDescription 

Windows Media Player SDK banner art

Previous Next

ErrorItem.errorDescription

The errorDescription property retrieves a description of the error.

Syntax

  

Possible Values

This property is a read-only String.

Remarks

You should set Settings.enableErrorDialogs to false if you choose to display custom error messages.

Example Code

The following JScript example uses ErrorItem.errorDescription in an event handler to display the error message to the user. The Player object was created with ID = "Player".

  

Requirements

Version: Windows Media Player version 7.0 or later.

Library: Use wmp.dll.

See Also

Previous Next