GraphTransactionScope 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.
Represents a highly optimized wrapper around System.Transactions.TransactionScope. This extensively uses thread local storage and is thus thread-bound. GraphTransactionScope is meant to be called from a using() class, same as TransactionScope.
public ref class GraphTransactionScope : IDisposable
public class GraphTransactionScope : IDisposable
type GraphTransactionScope = class
interface IDisposable
Public Class GraphTransactionScope
Implements IDisposable
- Inheritance
-
GraphTransactionScope
- Derived
- Implements
Constructors
GraphTransactionScope() |
Constructor. This associates this GraphTransactionScope with ones on outer scope blocks by using a TLS variable. |
GraphTransactionScope(GraphTransactionScopeOptions) |
Constructor. This associates this GraphTransactionScope with ones on outer scope blocks by using a TLS variable. |
GraphTransactionScope(String) |
Constructor. This associates this GraphTransactionScope with ones on outer scope blocks by using a TLS variable. |
GraphTransactionScope(Transaction) |
Constructor. This associates this GraphTransactionScope with ones on outer scope blocks by using a TLS variable. |
Properties
ExtraData |
Extra data to save in TLS |
ScopeProperties |
The property bag associated with this scope. |
Methods
Complete() |
Mark us as complete. Dispose will check this and if this wasn't called, the transaction will abort. |
Dispose() |
IDisposable.Dispose. |
Dispose(Boolean) |
Dispose implementation |