Skip to content

PosSharp.Core.UposDeviceBase.BeginOperation()

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

PosSharp v1.2.0 API Reference


UposDeviceBase.BeginOperation() Method

Begins a device operation, setting the IsBusy property to true. Returns a disposable that automatically resets the busy state when disposed.

protected System.IDisposable BeginOperation();

Returns

System.IDisposable
A disposable to end the operation.

Exceptions

UposStateException
The device is not enabled or already busy.

Clone this wiki locally