TransactionManager Class

Definition

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

public ref class TransactionManager abstract sealed
public static class TransactionManager
type TransactionManager = class
Public Class TransactionManager
Inheritance
TransactionManager

Remarks

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.

Properties

DefaultTimeout

Gets the default timeout interval for new transactions.

HostCurrentCallback

Gets or sets a custom transaction factory.

MaximumTimeout

Gets the default maximum timeout interval for new transactions.

Methods

RecoveryComplete(Guid)

Notifies the transaction manager that a resource manager recovering from failure has finished reenlisting in all unresolved transactions.

Reenlist(Guid, Byte[], IEnlistmentNotification)

Reenlists a durable participant in a transaction.

Events

DistributedTransactionStarted

Indicates that a distributed transaction has started.

Applies to

See also