Delen via


MediaPlaybackItemFailedEventArgs Class

Definition

Provides data for the MediaPlaybackList.ItemFailed event.

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
Inheritance
Object Platform::Object IInspectable MediaPlaybackItemFailedEventArgs
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Get an instance of this class by handling the MediaPlaybackList.ItemFailed event.

Properties

Error

Gets a wrapper object for the MediaPlaybackItem error that provides high-level information about the cause of the error.

Item

Gets the MediaPlaybackItem associated with the error.

Applies to