HardTotals.Rollback Method
2/27/2008
Ends the current transaction.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub Rollback
public abstract void Rollback ()
public:
virtual void Rollback () abstract
public abstract void Rollback ()
public abstract function Rollback ()
Remarks
All writes between the previous BeginTrans and Rollback are discarded. They are not saved to the hard totals areas.
Rollback may cause a PosControlException to be thrown with one of the following ErrorCodes.
Value |
Meaning |
Illegal |
Transactions are not supported by this device, or no transaction is in progress. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.
See Also
Reference
HardTotals Class
HardTotals Members
Microsoft.PointOfService Namespace
HardTotals.BeginTrans Method
HardTotals.CommitTrans Method