Share via


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

4/4/2017

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.

For consistency, a Service must always fire at least one TransitionEvent with an incomplete progress completion percentage (i.e. a percentage between 1 and 99), even if the device cannot physically report the progress of the process. If the process completes successfully, the Service must fire a TransitionEvent with a progress of 100. These Service requirements allow applications using this method to be designed to always expect some level of progress notification.

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