Freigeben über


MediaTimelineController.Failed Ereignis

Definition

Tritt auf, wenn für den Zeitleiste-Controller ein interner Fehler auftritt und die Wiedergabe nicht fortgesetzt werden kann.

// 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) 

Ereignistyp

Windows-Anforderungen

Gerätefamilie
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v4.0)

Gilt für: