Share via


PointCardRW.EndInsertion Method

2/27/2008

Ends point card insertion processing.

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

Syntax

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

Remarks

When it is called, the point card reader/writer is taken out of point card Insertion mode. If a point card is detected in the device, a successful status of Success is returned to the application. If no point card is present, an extended error status NoCard is returned.

EndInsertion is paired with the BeginInsertion method for controlling point card insertion.

EndInsertion may throw a PosControlException exception with the following ErrorCodes:

Value

Meaning

Success

EndInsertion was initiated successfully.

Illegal

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

Failure

A card is not included in 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.BeginRemoval Method
EndRemoval