Export (0) Print
Expand All

TransactionManager Class

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

System.Object
  System.Transactions.TransactionManager

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

public static class TransactionManager

The TransactionManager type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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.
Top

  NameDescription
Public eventStatic memberDistributedTransactionStartedIndicates that a distributed transaction has started.
Top

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

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft