-
Notifications
You must be signed in to change notification settings - Fork 0
PosSharp.Core.UposStateException
github-actions[bot] edited this page May 8, 2026
·
8 revisions
Exception thrown when a UPOS device is in an invalid state for the requested operation.
public sealed class UposStateException : System.InvalidOperationExceptionInheritance System.Object 🡒 System.Exception 🡒 System.SystemException 🡒 System.InvalidOperationException 🡒 UposStateException
| Constructors | |
|---|---|
| UposStateException(ControlState, IReadOnlyList<ControlState>, UposErrorCode) | Initializes a new instance of the UposStateException class. |
| UposStateException(string, UposErrorCode) | Initializes a new instance of the UposStateException class. |
| Properties | |
|---|---|
| AllowedStates | Gets the list of states that were allowed for the operation. |
| CurrentState | Gets the state of the device at the time the exception was thrown. |
| ErrorCode | Gets the UPOS error code associated with this exception. |
Expand / Collapse
- Interfaces
- Classes
- Events
- Enums & Constants
Expand / Collapse
- Lifecycle Management
- Base Components
- Exceptions
