Share via


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

2/27/2008

Ends point card 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 it is called, the point card reader/writer is taken out of point card removal or ejection mode. If no point card is detected in the device, a successful status of Success is returned to the application. If a point card is present, an extended error status ExtendedErrorRelease is returned.

EndRemoval is paired with the BeginRemoval method for controlling point card removal.

The application may choose to call EndRemoval immediately after a successful BeginRemoval if it wants to use the point card reader/writer sensors to determine when the point card has been ejected. Alternatively, the application may prompt the user and wait for a key press before it calls EndRemoval.

EndRemoval may throw a PosControlException exception with the following ErrorCodes:

Value

Meaning

Success

EndRemoval was initiated successfully.

Illegal

The point card reader/writer is not in Point Card Removal mode.

Failure

There is a card in the point card reader/writer.

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

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