GraphTransactionScope Class
Represents a highly optimized wrapper around System.Transactions.TransactionScope. This extensively uses thread local storage and is therefore thread-bound. GraphTransactionScope is meant to be called from a using() class, same as TransactionScope.
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Microsoft.VisualStudio.GraphModel::GraphTransactionScope
Microsoft.VisualStudio.GraphModel::UndoableGraphTransactionScope
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | ScopeProperties | The property bag associated with this scope. |
| Name | Description | |
|---|---|---|
![]() | Complete() | Mark us as completed. Dispose will check this and if this wasn't called, the transaction will abort. |
![]() | Dispose() | IDisposable.Dispose. |
![]() | Dispose(Boolean) | Dispose implementation |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


