Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

C#
Visual Basic
Visual C++

Berkeley DB .NET API Documentation
TransactionConfig..::.TxnTimeout Property
TransactionConfig Class See Also

The timeout value for locks for the transaction.

Namespace: BerkeleyDB
Assembly: libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0

# Syntax

C#
    public uint TxnTimeout { get; set; }

Visual Basic (Declaration)
    Public Property TxnTimeout As UInteger

Visual C++
    public:
    property unsigned int TxnTimeout {
    	unsigned int get ();
    	void set (unsigned int value);
    }

# Remarks

Timeouts are checked whenever a thread of control blocks on a lock or when deadlock detection is performed. This timeout is for the life of the transaction. As timeouts are only checked when the lock request first blocks or when deadlock detection is performed, the accuracy of the timeout depends on how often deadlock detection is performed.

Timeout values may be specified for the database environment as a whole. See TxnTimeout for more information.

# See Also

TransactionConfig Class
BerkeleyDB Namespace