Share via


PinPad.TransactionType Property

2/27/2008

Holds the current EFT transaction type.

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

Syntax

'Declaration
Public MustOverride Property TransactionType As EftTransactionType
public abstract EftTransactionType TransactionType { get; set; }
public:
virtual property EftTransactionType TransactionType {
    EftTransactionType get () abstract;
    void set (EftTransactionType value) abstract;
}
/** @property */
public abstract EftTransactionType get_TransactionType ()

/** @property */
public abstract void set_TransactionType (EftTransactionType value)
public abstract function get TransactionType () : EftTransactionType

public abstract function set TransactionType (value : EftTransactionType)

Remarks

The application must set TransactionType before calling the BeginEftTransaction method. Valid types are defined by the EftTransactionType enumeration.

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

PinPad Class
PinPad Members
Microsoft.PointOfService Namespace
PinPad.BeginEftTransaction Method