PosSharp v1.2.0 API Reference

--- #### [PosSharp\.Core](PosSharp.Core 'PosSharp\.Core') ### [PosSharp\.Core](PosSharp.Core 'PosSharp\.Core').[UposDeviceBase](PosSharp.Core.UposDeviceBase 'PosSharp\.Core\.UposDeviceBase') ## UposDeviceBase\.BeginOperation\(\) Method Begins a device operation, setting the [IsBusy](PosSharp.Core.UposDeviceBase.IsBusy 'PosSharp\.Core\.UposDeviceBase\.IsBusy') property to true\. Returns a disposable that automatically resets the busy state when disposed\. ```csharp protected System.IDisposable BeginOperation(); ``` #### Returns [System\.IDisposable](https://learn.microsoft.com/en-us/dotnet/api/system.idisposable 'System\.IDisposable') A disposable to end the operation\. #### Exceptions [UposStateException](PosSharp.Core.UposStateException 'PosSharp\.Core\.UposStateException') The device is not enabled or already busy\.