CashDrawer.CheckHealthAsync(UnifiedPosHealthCheckLevel) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the device's health state asynchronously.
public:
virtual IAsyncOperation<Platform::String ^> ^ CheckHealthAsync(UnifiedPosHealthCheckLevel level) = CheckHealthAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<winrt::hstring> CheckHealthAsync(UnifiedPosHealthCheckLevel const& level);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<string> CheckHealthAsync(UnifiedPosHealthCheckLevel level);
function checkHealthAsync(level)
Public Function CheckHealthAsync (level As UnifiedPosHealthCheckLevel) As IAsyncOperation(Of String)
Parameters
The specified health check level.
Returns
This value is intended to be reflected in the app interface immediately so the user of the app can interpret it. For example, it will return “OK” as the health string if the device state is good.
- Attributes
Remarks
This feature behaves identically to corresponding features in the other POS peripherals, and support for this operation is required by the UPOS standard.