次の方法で共有


MediaTimelineController.Failed イベント

定義

タイムライン コントローラーで内部エラーが発生し、再生を続行できない場合に発生します。

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

イベントの種類

Windows の要件

デバイス ファミリ
Windows 10 Creators Update (10.0.15063.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v4.0 で導入)

適用対象