GraphicsCaptureAccess 类

定义

允许应用请求访问需要用户同意的图形捕获功能。

public ref class GraphicsCaptureAccess abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 786432)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GraphicsCaptureAccess final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 786432)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class GraphicsCaptureAccess
Public Class GraphicsCaptureAccess
继承
Object IInspectable GraphicsCaptureAccess
属性

Windows 要求

设备系列
Windows 10, version 2104 (在 10.0.20348.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v12.0 中引入)

方法

RequestAccessAsync(GraphicsCaptureAccessKind)

请求访问需要用户同意的图形捕获功能。

适用于