Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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