HasError

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

Compatibility: Windows Media Player

[ bError = ] MediaPlayer.HasError

Parameters

  • bError
    Boolean value specifying whether the control currently has an error. If true, the control has an error. This property is read-only with 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

OS Versions: Windows CE 3.0 and later.

See Also

Windows Media Player Properties | Compatibility Modes | ErrorCode | ErrorDescription

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.