Jaa


MediaPlayerFailedEventArgs Class

Definition

Provides the data for MediaFailed events.

public ref class MediaPlayerFailedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class MediaPlayerFailedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MediaPlayerFailedEventArgs
Public NotInheritable Class MediaPlayerFailedEventArgs
Inheritance
Object Platform::Object IInspectable MediaPlayerFailedEventArgs
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 MediaFailed event.

Properties

Error

Gets the MediaPlayerError value for the error that triggered the event.

ErrorMessage

Gets a string describing the error that occurred.

ExtendedErrorCode

Gets an HResult that indicates any extra data about the error that occurred.

Applies to