IWMPError (VB and C#) interface

[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.]

Provides properties and methods for accessing a collection of IWMPErrorItem interfaces for retrieving error information.

The IWMPError interface exposes the following properties.

Members

The IWMPError (VB and C#) interface has these types of members:

Methods

The IWMPError (VB and C#) interface has these methods.

Method Description
clearErrorQueue Clears the errors from the error queue.
webHelp Launches the Microsoft Windows Media Player Web Help page to display further information about the first error in the error queue.

Properties

The IWMPError (VB and C#) interface has these properties.

Property Access type Description
errorCount
Read-only
Gets the number of errors in the error queue.
Item
Read/write
Gets an IWMPErrorItem interface at the specified index in the error queue. In C#, this is the get_Item method.

Get an IWMPError interface by using the following property.

Object Property
AxWindowsMediaPlayer Object Error

Requirements

Requirement Value
Header
Wmp.h

See also

Interfaces for Visual Basic .NET and C#

IWMPErrorItem Interface (VB and C#)