PinPadBase.TransactionType Property (POS for .NET v1.12 SDK Documentation)
2/27/2008
Holds the current EFT transaction type.
Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)
Syntax
'Declaration
Public Overrides Property TransactionType As EftTransactionType
public override EftTransactionType TransactionType { get; set; }
public:
virtual property EftTransactionType TransactionType {
EftTransactionType get () override;
void set (EftTransactionType value) override;
}
/** @property */
public EftTransactionType get_TransactionType ()
/** @property */
public void set_TransactionType (EftTransactionType value)
public override function get TransactionType () : EftTransactionType
public override function set TransactionType (value : EftTransactionType)
Remarks
The PinPadBase class verifies that the PIN pad device has been opened, then retrieves or sets the value of PinPadProperties.TransactionType. Accessing TransactionType may cause a PosControlException to be thrown with the following ErrorCode:
Value |
Meaning |
Illegal |
One of the following conditions has occurred:The application has called the BeginEftTransaction method—TransactionType can’t be changed while the device is in EFT Transaction Mode; orThe value specified wasn’t found in the EftTransactionType enumerator. |
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.TransactionType Property
EftTransactionType Enumeration