Share via


ElectronicValueRW.AddValue Method

2/27/2008

Adds Electronic Value on demand to the card as specified by sequenceNumber.

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

Syntax

'Declaration
Public MustOverride Sub AddValue ( _
    sequenceNumber As Integer, _
    timeout As Integer _
)
public abstract void AddValue (
    int sequenceNumber,
    int timeout
)
public:
virtual void AddValue (
    int sequenceNumber, 
    int timeout
) abstract
public abstract void AddValue (
    int sequenceNumber, 
    int timeout
)
public abstract function AddValue (
    sequenceNumber : int, 
    timeout : int
)

Parameters

  • sequenceNumber
    Sequence number.
  • timeout
    The maximum waiting time (in milliseconds) until the response is received from the device. WaitForever can be specified.

Remarks

When timeout is WaitForever, time-out never occurs and it waits indefinitely until it receives a response from the device.

This method is performed synchronously if AsyncMode is false, and asynchronously if AsyncMode is true.

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

ElectronicValueRW Class
ElectronicValueRW Members
Microsoft.PointOfService Namespace