Share via


CheckScanner.EndRemoval Method

2/27/2008

Ends the document removal or ejection mode.

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

If a check is detected in the device, the service object throws an exception.

EndRemoval is paired with the BeginRemoval method for controlling check removal. Although some Check Scanner devices do not require this kind of processing, the application should still use these methods to make sure the application works across different Check Scanner devices.

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

Value

Meaning

Illegal

The Check Scanner device was not in check removal mode—BeginRemoval had not been called before calling EndRemoval.

Extended

ErrorCodeExtended = ExtendedErrorCheck. A check was detected in the Check Scanner device.

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

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