ElectronicValueRW.AccessLog Method (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets the transaction log from the device.

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

Syntax

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

Parameters

  • sequenceNumber
    The sequence number to get transaction log.
  • type
    Specifies whether the transaction log is the intermediate total or the last total.
  • timeout
    The maximum waiting time (in milliseconds) until the response is received from the device. WaitForever can be specified.

Remarks

Gets transaction log on demand by SequenceNumber and it is stored in the TransactionLog property.

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

If the ElectronicValueRW device needs the last total processing of a transaction, it performs this method.

The last total processing might be cleared in the transaction log, this depends on the implementation. However, the intermediate total must not be cleared in the transaction log.

It depends on the implementation if the transaction log are passed to the service center directly and not to the application.

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