Append an informational message to the Berkeley DB database
environment log files.
Namespace:
BerkeleyDBAssembly: libdb_dotnet52 (in libdb_dotnet52.dll) Version: 5.2.28.0
Syntax
C# |
---|
public void WriteToLog( string str, Transaction txn ) |
Visual Basic (Declaration) |
---|
Public Sub WriteToLog ( _ str As String, _ txn As Transaction _ ) |
Visual C++ |
---|
public: void WriteToLog( String^ str, Transaction^ txn ) |
Parameters
- str
- Type: System..::.String
The message to append to the log files
- txn
- Type: BerkeleyDB..::.Transaction
If the operation is part of an application-specified transaction, txn is a Transaction object returned from BeginTransaction()()(); otherwise null.