共用方式為


MediaSourceError 類別

定義

表示 MediaSource所發生的錯誤。

public ref class MediaSourceError 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 MediaSourceError 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 MediaSourceError
Public NotInheritable Class MediaSourceError
繼承
Object Platform::Object IInspectable MediaSourceError
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

存取 MediaSourceOpenCompletedEventArgs.Error 屬性,以取得這個類別的實例。

屬性

ExtendedError

取得 MediaSourceError的擴充錯誤碼。

適用於