Skip to content

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

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

PosSharp v1.2.0 API Reference


UposDeviceBase.OnReleaseAsync(CancellationToken) Method

Called by ReleaseAsync(CancellationToken) to perform device-specific release logic.

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