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
DatabaseEnvironment..::.TxnTimeout Property
DatabaseEnvironment Class See Also Send Feedback

A value, in microseconds, representing transaction timeouts.

Namespace: BerkeleyDB
Assembly: libdb_dotnet53 (in libdb_dotnet53.dll) Version: 5.3.28.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

All timeouts are checked whenever a thread of control blocks on a lock or when deadlock detection is performed. 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 specified for the database environment may be overridden on a per-transaction basis, see SetTxnTimeout(UInt32).

# See Also

DatabaseEnvironment Class
BerkeleyDB Namespace