CashChanger.BeginDeposit Method
2/27/2008
Starts a cash acceptance operation.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub BeginDeposit
public abstract void BeginDeposit ()
public:
virtual void BeginDeposit () abstract
public abstract void BeginDeposit ()
public abstract function BeginDeposit ()
Remarks
Cash acceptance is started.
The following property values are initialized by the call to this method:
The value of each cash unit of the DepositCounts property is set to zero.
The DepositAmount property is set to zero.
After the code calls this method, if CapDepositDataEvent is true, cash acceptance is reported by DataEvent until FixDeposit is called while the deposit process is not paused.
BeginDeposit may cause a PosControlException to be thrown with the following ErrorCodes.
Value |
Meaning |
Illegal |
Either the cash changer does not support cash acceptance, or the call sequence is incorrect. |
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
CashChanger Class
CashChanger Members
Microsoft.PointOfService Namespace
DepositCounts
DepositAmount
CapDepositDataEvent
EndDeposit
FixDeposit
PauseDeposit