THEME.showErrorDialog

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The showErrorDialog method displays the standard error dialog box.

        theme.showErrorDialog()

Parameters

This method has no parameters.

Return Value

This method does not return a value.

Remarks

If Settings.enableErrorDialogs is false, this method can be used to programmatically display the error dialog. If there are no errors in the error queue, the error dialog box is not shown.

For Windows Media Player 9 Series or later, this method must be called from the error event handler. Windows Media Player 9 Series or later clears the error queue for skins after the error event has been fired.

Requirements

Requirement Value
Version
Windows Media Player version 7.0 or later

See also

THEME Element

Settings.enableErrorDialogs