MediaPlaybackList.ItemErrorOccurred | itemerroroccurred event

[This documentation is preliminary and is subject to change.]

Occurs when an error is encountered with a MediaPlaybackItem in the playback list.

Syntax


function onItemErrorOccurred(eventArgs) { /* Your code */ }
 
// addEventListener syntax
mediaPlaybackList.addEventListener("itemerroroccurred", onItemErrorOccurred);
mediaPlaybackList.removeEventListener("itemerroroccurred", onItemErrorOccurred);
 
- or -

mediaPlaybackList.onitemerroroccurred = onItemErrorOccurred;


Event information

Delegate TypedEventHandler<MediaPlaybackList, MediaPlaybackItemErrorEventArgs>

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Media.Playback
Windows::Media::Playback [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

See also

MediaPlaybackList

 

 

Show: