Export (0) Print
Expand All

code property

Gets the error code related to the MSMediaKeySession error state.

Important  This property is not supported in Internet Explorer 11 on Windows 7.

This property is read-only.

IE11

 

Syntax

JavaScript
ptr = object.code

 

Property values

Type: unsigned short

The error code value.

ValueCondition
MS_MEDIA_KEYERR_UNKNOWN
1

Unknown error occurred.

MS_MEDIA_KEYERR_CLIENT
2

An error with the client occurred.

MS_MEDIA_KEYERR_SERVICE
3

An error with the service occurred.

MS_MEDIA_KEYERR_OUTPUT
4

An error with the output occurred.

MS_MEDIA_KEYERR_HARDWARECHANGE
5

An error occurred related to a hardware change.

MS_MEDIA_KEYERR_DOMAIN
6

An error with the domain occurred.

 

See also

MSMediaKeyError

 

 

Show:
© 2014 Microsoft