Share via


Micr.EndRemoval Method (POS for .NET v1.12 SDK Documentation)

2/27/2008

Ends the check removal processing.

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

Syntax

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

Remarks

When EndRemoval is called, the MICR is taken out of check Removal or Ejection mode. If no check is detected in the device, a status of Success is returned to the application. If a check is present, an extended error status of ExtendedErrorCheck is returned.

EndRemoval is paired with the BeginRemoval method for controlling check removal. For MICR devices that do not require this kind of processing, these methods return Success. However, the application should still use these methods to guarantee application portability across different MICR devices.

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

Value

Meaning

Illegal

The printer is not in check Removal mode.

ExtendedErrorCheck

The device was taken out of Removal mode while a check is present.

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

Micr Class
Micr Members
Microsoft.PointOfService Namespace
Micr.BeginInsertion Method
Micr.BeginRemoval Method
Micr.EndInsertion Method