Compartir a través de


HasError

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This property contains a value specifying whether the Windows Media Player control currently has an error. This property is read-only.

Compatibility: Windows Media Player

Syntax

[ bError = ] MediaPlayer.HasError

Parameters

  • bError
    Boolean value specifying whether the control currently has an error. If true, the control has an error. There is no default value.

Remarks

If the value of this property is true, you can retrieve the ErrorCode and ErrorDescription properties to determine the nature of the error.

Requirements

Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Windows Media Player Properties
ErrorCode
ErrorDescription

Concepts

Compatibility Modes