Share via


LineDisplay.CheckPowerStatusAsync Method

Definition

Gets the current power status of the device.

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)

Returns

The power status of the device.

Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to