Share via


PointCardRW.EndInsertion Method

Ends point card insertion processing.

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

Usage

'Usage
Dim pointCardRW1 As PointCardRW
pointCardRW1.EndInsertion()

Syntax

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

Remarks

When 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 returns void if successful, and can throw the following exceptions:

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.

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
BeginRemoval
EndRemoval