ClaimedLineDisplay.CheckPowerStatusAsync 方法

定义

获取设备的当前电源状态。

public:
 virtual IAsyncOperation<LineDisplayPowerStatus> ^ CheckPowerStatusAsync() = CheckPowerStatusAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<LineDisplayPowerStatus> CheckPowerStatusAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<LineDisplayPowerStatus> CheckPowerStatusAsync();
function checkPowerStatusAsync()
Public Function CheckPowerStatusAsync () As IAsyncOperation(Of LineDisplayPowerStatus)

返回

设备的当前电源状态。

属性

Windows 要求

设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

适用于