This documentation is archived and is not being maintained.

TransactionManager Class

Contains methods used for transaction management. This class cannot be inherited.


Namespace:  System.Transactions
Assembly:  System.Transactions (in System.Transactions.dll)

Public NotInheritable Class TransactionManager

The TransactionManager type exposes the following members.

Public propertyStatic memberDefaultTimeoutGets the default timeout interval for new transactions.
Public propertyStatic memberHostCurrentCallbackGets or sets a custom transaction factory.
Public propertyStatic memberMaximumTimeoutGets the default maximum timeout interval for new transactions.

Public methodStatic memberRecoveryCompleteNotifies the transaction manager that a resource manager recovering from failure has finished reenlisting in all unresolved transactions.
Public methodStatic memberReenlistReenlists a durable participant in a transaction.

Public eventStatic memberDistributedTransactionStartedIndicates that a distributed transaction has started.

This class contains static properties and methods used to obtain information about the default transaction options. It also contains several static methods used for recovery of a durable resource when the durable resource fails. No special action is required of a durable resource if the Microsoft Distributed Transaction Coordinator (MSDTC) fails.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.