Share via


ElectronicValueRW.CancelValue Method

2/27/2008

Cancels the Electronic Value related operation specified by SequenceNumber on demand.

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

Syntax

'Declaration
Public MustOverride Sub CancelValue ( _
    sequenceNumber As Integer, _
    timeout As Integer _
)
public abstract void CancelValue (
    int sequenceNumber,
    int timeout
)
public:
virtual void CancelValue (
    int sequenceNumber, 
    int timeout
) abstract
public abstract void CancelValue (
    int sequenceNumber, 
    int timeout
)
public abstract function CancelValue (
    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

The targeted cancellation operation is identified by the settlement number that is contained in the ApprovalCode property.

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