Share via


PointCardRW.EndRemoval Method

Ends point card removal processing.

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

Usage

'Usage
Dim pointCardRW1 As PointCardRW
pointCardRW1.EndRemoval()

Syntax

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

Remarks

When 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 calling EndRemoval.

EndRemoval returns void if successful, and can throw the following exceptions:

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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

PointCardRW Class
PointCardRW Members
Microsoft.PointOfService Namespace
BeginInsertion
EndInsertion
BeginRemoval