Share via


IWMPErrorItem2 (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 a property for getting an error condition code.

In addition to the properties inherited from IWMPErrorItem, the IWMPErrorItem2 interface exposes the following property.

Property Description
condition Gets a value indicating the condition for the error.

Get an IWMPErrorItem2 interface by casting the value returned by the Item property (in C#, the get_Item method) of the IWMPErrorItem interface.

Members

The IWMPErrorItem2 (VB and C#) interface does not define any members.

Requirements

Requirement Value
Header
Wmp.h

See also

IWMPErrorItem

Interfaces for Visual Basic .NET and C#

IWMPErrorItem Interface (VB and C#)