ElectronicValueRW.SubtractValue Method
2/27/2008
Subtracts the Electronic Value from the card.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub SubtractValue ( _
sequenceNumber As Integer, _
timeout As Integer _
)
public abstract void SubtractValue (
int sequenceNumber,
int timeout
)
public:
virtual void SubtractValue (
int sequenceNumber,
int timeout
) abstract
public abstract void SubtractValue (
int sequenceNumber,
int timeout
)
public abstract function SubtractValue (
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
Electronic Value is subtracted from the card specified by SequenceNumber on demand.
When timeout is WaitForever, time-out never occurs and the service 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