Share via


CoinAcceptor.PauseDeposit Method (POS for .NET v1.14 SDK Documentation)

3/2/2014

Suspends or resumes depositing cash.

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

Syntax

'Declaration
Public MustOverride Sub PauseDeposit ( _
    control As CashDepositPause _
)
public abstract void PauseDeposit (
    CashDepositPause control
)
public:
virtual void PauseDeposit (
    CashDepositPause control
) abstract
public abstract void PauseDeposit (
    CashDepositPause control
)
public abstract function PauseDeposit (
    control : CashDepositPause
)

Parameters

  • control
    Indicates whether the coin acceptance process will be paused or restarted. If the value of this parameter is Pause, acceptance will be paused. If the value is Restart, cash acceptance will resume.

Remarks

Called to suspend or resume depositing cash. If the value of control is Pause, the cash acceptance operation becomes paused. As soon as paused, the deposit process remains paused until this method is called again with Restart as the parameter value. This will cause the process to be resumed.

It is valid to call the FixDeposit method, then the EndDeposit method, while the deposit process is paused.

When the deposit process is paused, the DepositCounts and DepositAmount properties are updated to reflect the current state of the Coin Acceptor. The property values are not changed again until the deposit process is resumed.

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

CoinAcceptor Class
CoinAcceptor Members
Microsoft.PointOfService Namespace