BillDispenser.DispenseCash Method
2/27/2008
Dispenses the specified cash units and cash counts from the device.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub DispenseCash ( _
cashCounts As IEnumerable(Of CashCount) _
)
public abstract void DispenseCash (
IEnumerable<CashCount> cashCounts
)
public:
virtual void DispenseCash (
IEnumerable<CashCount>^ cashCounts
) abstract
public abstract void DispenseCash (
IEnumerable<CashCount> cashCounts
)
public abstract function DispenseCash (
cashCounts : IEnumerable<CashCount>
)
Parameters
- cashCounts
Indicates the dispensing cash units and counts.
Remarks
Dispenses cash from the bill dispenser to the exit specified by CurrentExit.
This method is performed synchronously if AsyncMode is false, and asynchronously if AsyncMode is true.
DispenseCash can throw general exceptions, and PosControlExceptions with the following ErrorCode values.
Value |
Meaning |
Busy |
Cash cannot be dispensed because an asynchronous method is in progress. |
Illegal |
The cashCounts parameter value was illegal for the current exit. |
ExtendedErrorOverDispense |
The specified cash cannot be dispensed because of a cash shortage. |
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
BillDispenser Class
BillDispenser Members
Microsoft.PointOfService Namespace
AsyncMode
CurrentExit