Dela via


MediaPlayerError Enum

Definition

Indicates possible media player errors.

public enum class MediaPlayerError
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class 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 requirements

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

Fields

Name Value Description
Unknown 0

The error is unknown.

Aborted 1

The last operation was aborted.

NetworkError 2

A network error occurred.

DecodingError 3

A media decoding error occurred.

SourceNotSupported 4

The media type is not supported.

Applies to