AppRecordingSaveScreenshotResult 类

定义

表示通过调用 SaveScreenshotToFilesAsync 启动的屏幕截图操作的结果。

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

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.16299.0 中引入)
API contract
Windows.Media.AppRecording.AppRecordingContract (在 v1.0 中引入)

属性

ExtendedError

获取屏幕截图操作返回的关联扩展错误代码。

SavedScreenshotInfos

获取 AppRecordingSavedScreenshotInfo 对象的列表,该对象表示从屏幕截图操作保存的图像文件。

Succeeded

获取一个值,该值指示屏幕截图操作是否成功。

适用于

另请参阅