Skip to content

PosSharp.Core.UposDeviceBase.OnEnableAsync(System.Threading.CancellationToken)

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

PosSharp v1.2.0 API Reference


UposDeviceBase.OnEnableAsync(CancellationToken) Method

Called by SetEnabledAsync(bool, CancellationToken) when enabling the device.

protected abstract System.Threading.Tasks.Task OnEnableAsync(System.Threading.CancellationToken ct);

Parameters

ct System.Threading.CancellationToken

Cancellation token.

Returns

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

Clone this wiki locally