MediaPlayerError Enum

Definition

Indicates possible media player errors.

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

Windows 10 requirements

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

Fields

Aborted 1

The last operation was aborted.

DecodingError 3

A media decoding error occurred.

NetworkError 2

A network error occurred.

SourceNotSupported 4

The media type is not supported.

Unknown 0

The error is unknown.

Applies to