Return the record number and data from the available record closest to the head of the queue, and delete the record.Namespace: BerkeleyDB
Assembly: libdb_dotnet52 (in libdb_dotnet52.dll) Version: 126.96.36.199
public KeyValuePair<uint, DatabaseEntry> Consume( bool wait, Transaction txn )
|Visual Basic (Declaration)|
Public Function Consume ( _ wait As Boolean, _ txn As Transaction _ ) As KeyValuePair(Of UInteger, DatabaseEntry)
public: KeyValuePair<unsigned int, DatabaseEntry^> Consume( bool wait, Transaction^ txn )
- Type: System..::.Boolean
If true and the Queue database is empty, the thread of control will wait until there is data in the queue before returning.