Jaa


MediaPlaybackItemErrorCode Enum

Definition

Specifies the type of error that occurred while opening a MediaPlaybackItem.

public enum class MediaPlaybackItemErrorCode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MediaPlaybackItemErrorCode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MediaPlaybackItemErrorCode
var value = Windows.Media.Playback.MediaPlaybackItemErrorCode.none
Public Enum MediaPlaybackItemErrorCode
Inheritance
MediaPlaybackItemErrorCode
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
None 0

No error code.

Aborted 1

Opening of the playback item was aborted.

NetworkError 2

A network error occurred while opening the playback item.

DecodeError 3

An error occurred while decoding the playback item.

SourceNotSupportedError 4

The media source of the playback item is not supported.

EncryptionError 5

An error occurred related to the playback item's encryption.

Applies to