Share via


PinPadBase.TerminalId Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Holds the Terminal ID, as it is known to the EFT Transaction Host.

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

Syntax

'Declaration
Public Overrides Property TerminalId As String
public override string TerminalId { get; set; }
public:
virtual property String^ TerminalId {
    String^ get () override;
    void set (String^ value) override;
}
/** @property */
public String get_TerminalId ()

/** @property */
public void set_TerminalId (String value)
public override function get TerminalId () : String

public override function set TerminalId (value : String)

Remarks

The PinPadBase class verifies that the PIN pad device has been opened, then retrieves or sets the value of PinPadProperties.TerminalId. If an attempt is made to set TerminalId while PIN entry is enabled, the PinPadProperties class throws a PosControlException exception with ErrorCode set to ErrorCode.Illegal.

TerminalId is initialized to blank by the PinPadProperties class.

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.TerminalId Property