MediaSourceOpenOperationCompletedEventArgs 类

定义

为 MediaSource.MediaSourceOpenOperationCompleted 事件提供数据。

public ref class MediaSourceOpenOperationCompletedEventArgs 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 MediaSourceOpenOperationCompletedEventArgs 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 MediaSourceOpenOperationCompletedEventArgs
Public NotInheritable Class MediaSourceOpenOperationCompletedEventArgs
继承
Object Platform::Object IInspectable MediaSourceOpenOperationCompletedEventArgs
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

通过处理 MediaSource.MediaSourceOpenOperationCompleted 事件获取此类的实例。

属性

Error

表示异步打开 MediaSource 时发生的错误。

适用于