Share via


ElectronicValueRW.WriteValue Method

2/27/2008

Electronic Value is added to the card as specified by SequenceNumber on demand.

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

Syntax

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

Parameters

  • sequenceNumber
    Sequence number.
  • timeout
    The maximum waiting time (in milliseconds) until the response is received from the device. WaitForever and positive values 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