Share via


PinPadBase.EnablePinEntry Method

2/27/2008

Starts PIN entry at the PIN pad device.

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

Syntax

'Declaration
Public Overrides Sub EnablePinEntry
public override void EnablePinEntry ()
public:
virtual void EnablePinEntry () override
public void EnablePinEntry ()
public override function EnablePinEntry ()

Remarks

The PinPadBase class verifies that the application has opened, claimed, and enabled the device. EnablePinEntry may cause a PosControlException to be thrown with the following ErrorCode:

Value

Meaning

Disabled

The application has not called the BeginEftTransaction method prior to calling EnablePinEntry.

Busy

The PinEntryEnabled property was already set to true, indicating that the PIN pad device is already performing pin entry.

Otherwise, it sets the prompt message to PinPadMessage.EnterPin and calls the EnablePinEntryImpl protected method.

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

PinPadBase Class
PinPadBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace
PinPad.EnablePinEntry Method
EnablePinEntryImpl
PinPadMessage Enumeration