MediaPlaybackList.ItemFailed MediaPlaybackList.ItemFailed MediaPlaybackList.ItemFailed MediaPlaybackList.ItemFailed MediaPlaybackList.ItemFailed Event

Definition

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

public : event TypedEventHandler<MediaPlaybackList, MediaPlaybackItemFailedEventArgs> ItemFailed
// Register
event_token ItemFailed(TypedEventHandler<MediaPlaybackList, MediaPlaybackItemFailedEventArgs> const& handler) const;

// Revoke with event_token
void ItemFailed(event_token const& cookie) const;

// Revoke with event_revoker
ItemFailed_revoker ItemFailed(auto_revoke_t, TypedEventHandler<MediaPlaybackList, MediaPlaybackItemFailedEventArgs> const& handler) const;
public event TypedEventHandler<MediaPlaybackList, MediaPlaybackItemFailedEventArgs> ItemFailed
Public Event ItemFailed As TypedEventHandler (Of MediaPlaybackList, MediaPlaybackItemFailedEventArgs)
function onItemFailed(eventArgs){/* Your code */}


mediaPlaybackList.addEventListener("itemfailed", onItemFailed);
mediaPlaybackList.removeEventListener("itemfailed", onItemFailed);