MediaPlayerFailedEventArgs MediaPlayerFailedEventArgs MediaPlayerFailedEventArgs MediaPlayerFailedEventArgs MediaPlayerFailedEventArgs Class

Definition

Provides the data for MediaFailed events.

public : sealed class MediaPlayerFailedEventArgs
struct winrt::Windows::Media::Playback::MediaPlayerFailedEventArgs
public sealed class MediaPlayerFailedEventArgs
Public NotInheritable Class MediaPlayerFailedEventArgs
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Get an instance of this class by handling the MediaFailed event.

Properties

Error Error Error Error Error

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

ErrorMessage ErrorMessage ErrorMessage ErrorMessage ErrorMessage

Gets a string describing the error that occurred.

ExtendedErrorCode ExtendedErrorCode ExtendedErrorCode ExtendedErrorCode ExtendedErrorCode

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