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

Aborted 1

Opening of the playback item was aborted.

DecodeError 3

An error occurred while decoding the playback item.

EncryptionError 5

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

NetworkError 2

A network error occurred while opening the playback item.

None 0

No error code.

SourceNotSupportedError 4

The media source of the playback item is not supported.

Applies to