MediaPlaybackItemError Class

Definition

Represents an error that occurred trying to resolve a MediaPlaybackItem.

public ref class MediaPlaybackItemError 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 MediaPlaybackItemError 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 MediaPlaybackItemError
Public NotInheritable Class MediaPlaybackItemError
Inheritance
Object Platform::Object IInspectable MediaPlaybackItemError
Attributes

Windows requirements

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

Remarks

The ErrorCode property provides high-level information about the error that occurred resolving the playback item. The ExtendedError method propagates the underlying exception that caused the error.

Properties

ErrorCode

Gets the error code associated with the playback item error.

ExtendedError

Gets the extended error code for the MediaPlaybackItem error.

Applies to