Share via


PinPadBase.EndEftTransaction Method

2/27/2008

Takes the PIN pad out of EFT Transaction Mode.

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

Syntax

'Declaration
Public Overrides Sub EndEftTransaction ( _
    completionCode As EftTransactionCompletion _
)
public override void EndEftTransaction (
    EftTransactionCompletion completionCode
)
public:
virtual void EndEftTransaction (
    EftTransactionCompletion completionCode
) override
public void EndEftTransaction (
    EftTransactionCompletion completionCode
)
public override function EndEftTransaction (
    completionCode : EftTransactionCompletion
)

Parameters

  • completionCode
    The transaction completion code.

    Valid values for the completionCode are defined by the EftTransactionCompletion enumeration.

Remarks

The service object will perform termination functions (for example, computing next transaction keys). PinPadBase class verifies that the application has opened, claimed, and enabled the device. EndEftTransaction 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 EndEftTransaction.

Illegal

The value specified for the completionCode parameter doesn’t exist in the EftTransactionCompletion enumerator.

Otherwise, it calls the EndEftTransactionImpl 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
EndEftTransactionImpl
PinPad.EndEftTransaction Method
EftTransactionCompletion Enumeration