Share via


PinPad.BeginEftTransaction Method

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

Usage

'Usage
Dim pinpadSystem As PinPadSystem
Dim transactionHost As Integer
Dim pinPad1 As PinPad
pinPad1.BeginEftTransaction(pinpadSystem, transactionHost)

Syntax

'Declaration
Public MustOverride Sub BeginEftTransaction( _
    ByVal pinpadSystem As PinPadSystem, _
    ByVal transactionHost As Integer _
)
public abstract void BeginEftTransaction(
    PinPadSystem pinpadSystem,
    int transactionHost
);
public: abstract Void BeginEftTransaction(
    PinPadSystem^ pinpadSystem,
    Int32 transactionHost
);
public abstract void BeginEftTransaction(
    PinPadSystem pinpadSystem,
    int transactionHost
);
public abstract function BeginEftTransaction(
     pinpadSystem : PinPadSystem,
     transactionHost : int
) : Void;

Parameters

  • pinpadSystem
    Name of the desired PIN Pad Management System.
  • transactionHost
    Identifies the EFT Transaction Host to be used for this transaction.

Remarks

The application must call BeginEftTransaction to inform the PIN pad’s service object that an EFT Transaction is starting. The service object will perform initialization functions (for example, computing session keys). No other PIN pad functions can be performed until BeginEftTransaction is called.

BeginEftTransaction returns void if successful, and it can throw the following exceptions:

Value

Meaning

Illegal

One of the following conditions has occurred:

  • The requested PIN Pad Management System is not supported by the service object; or

  • The requested EFT Transaction Host is an illegal value for the selected PIN Pad Management System.

Busy

The PIN pad device is already performing an EFT transaction.

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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

PinPad Class
PinPad Members
Microsoft.PointOfService Namespace
EndEftTransaction