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

2/27/2008

Marks the beginning of a series of hard totals writes.

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

Syntax

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

Remarks

Marks the beginning of a series of hard totals writes that must be either applied as a group or not at all.

BeginTrans may cause a PosControlException to be thrown with the following ErrorCode:

Value

Meaning

Illegal

Transactions are not supported by this device.

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
CommitTrans
Rollback