Skip to content

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

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

PosSharp v1.2.0 API Reference


UposDeviceBase.OnCloseAsync(CancellationToken) Method

Called by CloseAsync(CancellationToken) to perform device-specific close logic.

protected abstract System.Threading.Tasks.Task OnCloseAsync(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