AppCaptureRecordingStateChangedEventArgs 类

定义

AppCaptureRecordOperation.StateChanged 事件提供数据。

注意

此 API 并非适用于所有 Windows 应用。 除非你的开发人员帐户由 Microsoft 专门预配,否则对这些 API 的调用将在运行时失败。

public ref class AppCaptureRecordingStateChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppCaptureContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppCaptureRecordingStateChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppCaptureContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppCaptureRecordingStateChangedEventArgs
Public NotInheritable Class AppCaptureRecordingStateChangedEventArgs
继承
Object Platform::Object IInspectable AppCaptureRecordingStateChangedEventArgs
属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.15063.0 中引入)
API contract
Windows.Media.Capture.AppCaptureContract (在 v4.0 中引入)
应用功能
appCaptureSettings

属性

ErrorCode

获取与 事件关联的错误代码。

State

获取应用捕获录制操作的新状态。

适用于