EnlistVolatile Method
This documentation is archived and is not being maintained.

Transaction.EnlistVolatile Method

Enlists a volatile resource manager to participate in a transaction.

Name Description
Transaction.EnlistVolatile (IEnlistmentNotification, EnlistmentOptions) Enlists a volatile resource manager that supports two phase commit to participate in a transaction.
Transaction.EnlistVolatile (ISinglePhaseNotification, EnlistmentOptions) Enlists a volatile resource manager that supports single phase commit optimization to participate in a transaction.

Volatile resource managers cannot recovery from failure to complete a transaction in which they were participating. For more information on volatile and durable resources, as well as how to enlist a resource, see Implementing A Resource Manager. For more information on how a resource manager responds to commit notification and prepare the commit, see Single-Phase and Multi-Phase Transactions.

Show:
© 2016 Microsoft