共用方式為


MediaPlaybackItemFailedEventArgs 類別

定義

提供 MediaPlaybackList.ItemFailed 事件的資料。

public ref class MediaPlaybackItemFailedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaPlaybackItemFailedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaPlaybackItemFailedEventArgs
Public NotInheritable Class MediaPlaybackItemFailedEventArgs
繼承
Object Platform::Object IInspectable MediaPlaybackItemFailedEventArgs
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

處理 MediaPlaybackList.ItemFailed 事件,以取得這個類別的實例。

屬性

Error

取得 MediaPlaybackItem 錯誤的包裝函式物件,提供錯誤原因的高階資訊。

Item

取得與錯誤相關聯的 MediaPlaybackItem

適用於