TransactionManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
ImplicitDistributedTransactions |
Gets or sets a value that indicates whether usage of |
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om