TransactionManager TransactionManager TransactionManager 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
TransactionManagerTransactionManagerTransactionManagerTransactionManager

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 DefaultTimeout DefaultTimeout DefaultTimeout

Gets the default timeout interval for new transactions.

HostCurrentCallback HostCurrentCallback HostCurrentCallback HostCurrentCallback

Gets or sets a custom transaction factory.

MaximumTimeout MaximumTimeout MaximumTimeout MaximumTimeout

Gets the default maximum timeout interval for new transactions.

Methods

RecoveryComplete(Guid) RecoveryComplete(Guid) RecoveryComplete(Guid) RecoveryComplete(Guid)

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

Reenlist(Guid, Byte[], IEnlistmentNotification) Reenlist(Guid, Byte[], IEnlistmentNotification) Reenlist(Guid, Byte[], IEnlistmentNotification) Reenlist(Guid, Byte[], IEnlistmentNotification)

Reenlists a durable participant in a transaction.

Events

DistributedTransactionStarted DistributedTransactionStarted DistributedTransactionStarted DistributedTransactionStarted

Indicates that a distributed transaction has started.

Applies to

See also