Share via


PinPadBase.EnablePinEntryImpl Method

2/27/2008

The PinPadBase class calls EnablePinEntryImpl from its EnablePinEntry method.

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

Syntax

'Declaration
Protected MustOverride Sub EnablePinEntryImpl
protected abstract void EnablePinEntryImpl ()
protected:
virtual void EnablePinEntryImpl () abstract
protected abstract void EnablePinEntryImpl ()
protected abstract function EnablePinEntryImpl ()

Remarks

The PinPadBase class calls EnablePinEntryImpl from its EnablePinEntry method. EnablePinEntryImpl must be implemented by the service object to allow the user to enter a PIN. Before calling EnablePinEntryImpl, the PinPadBase class ensures that the following is true:

  • The PIN pad has been opened, claimed, and enabled;

  • The PIN pad is in EFT Transaction Mode; and

  • The PinEntryEnabled property is set to FALSE.

If any of the above conditions aren’t met, the PinPadBase class throws an exception. If the validations succeed and the CapDisplay property is set to PinPadDisplay.PinRestricted, the PinPadBase class sets the Prompt property to PinPadMessage.EnterPin and then calls EnablePinEntryImpl.

The service object should throw PosControlException exceptions when errors occur.

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
PinPadBase.EnablePinEntry Method
PinPadDisplay Enumeration
PinPadMessage Enumeration