HardTotals.CommitTrans Method (POS for .NET v1.12 SDK Documentation)

2/27/2008

Ends the current transaction.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Sub CommitTrans
public abstract void CommitTrans ()
public:
virtual void CommitTrans () abstract
public abstract void CommitTrans ()
public abstract function CommitTrans ()

Remarks

All writes between the previous BeginTrans method and CommitTrans are saved to the hard totals areas.

CommitTrans may cause a PosControlException to be thrown with the following ErrorCode.

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
Rollback