Retrieves the specified log entry(s) from this MintChip.

Namespace: Mint.MintChip.Contract
Assembly: Mint.MintChip.Contract (in Mint.MintChip.Contract.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
ILogEntry[] ReadTransactionLog(
	LogType logType,
	int startIndex,
	int numOfEntries
)
Visual Basic
Function ReadTransactionLog ( _
	logType As LogType, _
	startIndex As Integer, _
	numOfEntries As Integer _
) As ILogEntry()
Visual C++
array<ILogEntry^>^ ReadTransactionLog(
	LogType logType, 
	int startIndex, 
	int numOfEntries
)

Parameters

logType
Type: Mint.MintChip.Contract..::..LogType
the type of entry, CREDIT or DEBIT
startIndex
Type: System..::..Int32
the 0 based index to start retrieving from
numOfEntries
Type: System..::..Int32
the number of items to retrieve

Return Value

array of the specified length or until the end of the log or an empty array if the specified startIndex is beyond the number of log entries

Exceptions

ExceptionCondition
Mint.MintChip.Contract..::..MintChipException if MintChip is missing/faulty or if communication errors occurred with MintChip

See Also