Skip to content

PosSharp.Core.UposDeviceBase.CheckHealthAsync(PosSharp.Abstractions.HealthCheckLevel,System.Threading.CancellationToken)

github-actions[bot] edited this page May 8, 2026 · 5 revisions

PosSharp v1.2.0 API Reference


UposDeviceBase.CheckHealthAsync(HealthCheckLevel, CancellationToken) Method

Tests the health of the device.

public System.Threading.Tasks.Task CheckHealthAsync(PosSharp.Abstractions.HealthCheckLevel level, System.Threading.CancellationToken ct=default(System.Threading.CancellationToken));

Parameters

level PosSharp.Abstractions.HealthCheckLevel

The level of health check to perform.

ct System.Threading.CancellationToken

A token to cancel the operation.

Implements CheckHealthAsync(HealthCheckLevel, CancellationToken)

Returns

System.Threading.Tasks.Task
A task representing the asynchronous operation.

Clone this wiki locally