Share via


CoinDispenser.DispenseChange Method (POS for .NET v1.14 SDK Documentation)

3/2/2014

Indicates a count of the coins it dispenses.

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

Syntax

'Declaration
Public MustOverride Sub DispenseChange ( _
    amount As Integer _
)
public abstract void DispenseChange (
    int amount
)
public:
virtual void DispenseChange (
    int amount
) abstract
public abstract void DispenseChange (
    int amount
)
public abstract function DispenseChange (
    amount : int
)

Parameters

  • amount
    A count of the currency units to dispense (such as cents or yen).

Remarks

DispenseChange may cause a PosControlException to be thrown with the following ErrorCodes.

Value

Meaning

Illegal

An amount parameter value of 0 (zero) was specified, or the amount parameter contained a negative value or a value greater than the device can dispense.

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

CoinDispenser Class
CoinDispenser Members
Microsoft.PointOfService Namespace