Share via


ElectronicValueRW.BeginRemoval Method

2/27/2008

Executes the card removal process.

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

Syntax

'Declaration
Public MustOverride Sub BeginRemoval ( _
    timeout As Integer _
)
public abstract void BeginRemoval (
    int timeout
)
public:
virtual void BeginRemoval (
    int timeout
) abstract
public abstract void BeginRemoval (
    int timeout
)
public abstract function BeginRemoval (
    timeout : int
)

Parameters

  • timeout
    If a value of WaitForever is specified, the method starts the card removal process and then waits as long as necessary until either the card is removed or an error occurs.

Remarks

If the device is a contact-less IC card device, when this method is called the device starts the card ejection process. Then it ejects the card and this method ends successfully at any time.

If the device is a contact IC card device with card detection sensor, this method is complete when card ejection was detected.

If the device is a contact IC card device without card detection sensor, this method is complete when this method is executed.

This method is called together with the EndRemoval method that ends the card ejection process.

If the device cannot be set to the card ejection mode, an error exception is raised, for example, Timeout. However, the device remains in card ejection mode until the EndRemoval method is called.

If the timeout parameter value is zero, the method starts the removal mode immediately. If a value is set (in milliseconds), the card removal process waits for this time period if it is necessary.

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

ElectronicValueRW Class
ElectronicValueRW Members
Microsoft.PointOfService Namespace