Condividi tramite


MediaTimelineController.Failed Evento

Definizione

Si verifica quando il controller della sequenza temporale rileva un errore interno e non può continuare la riproduzione.

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

Tipo evento

Requisiti Windows

Famiglia di dispositivi
Windows 10 Creators Update (è stato introdotto in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v4.0)

Si applica a