Bagikan melalui


MediaTimelineController.Failed Kejadian

Definisi

Terjadi ketika pengontrol garis waktu mengalami kesalahan internal dan tidak dapat melanjutkan pemutaran.

// Register
event_token Failed(TypedEventHandler<MediaTimelineController, MediaTimelineControllerFailedEventArgs const&> const& handler) const;

// Revoke with event_token
void Failed(event_token const* cookie) const;

// Revoke with event_revoker
MediaTimelineController::Failed_revoker Failed(auto_revoke_t, TypedEventHandler<MediaTimelineController, MediaTimelineControllerFailedEventArgs const&> const& handler) const;
public event TypedEventHandler<MediaTimelineController,MediaTimelineControllerFailedEventArgs> Failed;
function onFailed(eventArgs) { /* Your code */ }
mediaTimelineController.addEventListener("failed", onFailed);
mediaTimelineController.removeEventListener("failed", onFailed);
- or -
mediaTimelineController.onfailed = onFailed;
Public Custom Event Failed As TypedEventHandler(Of MediaTimelineController, MediaTimelineControllerFailedEventArgs) 

Jenis Acara

Persyaratan Windows

Rangkaian perangkat
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v4.0)

Berlaku untuk