MediaPlayerFailedEventArgs クラス

定義

MediaFailed イベントのデータを提供します。

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
継承
Object Platform::Object IInspectable MediaPlayerFailedEventArgs
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

MediaFailed イベントを処理して、このクラスのインスタンスを取得します。

プロパティ

Error

イベントをトリガーしたエラーの MediaPlayerError 値を取得します。

ErrorMessage

発生したエラーを説明する文字列を取得します。

ExtendedErrorCode

発生したエラーに関する追加データを示す HResult を取得します。

適用対象