GraphTransactionScope Class
TOC
Collapse the table of content
Expand the table of content

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.

Namespace:   Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

System.Object
  Microsoft.VisualStudio.GraphModel.GraphTransactionScope
    Microsoft.VisualStudio.GraphModel.UndoableGraphTransactionScope

public class GraphTransactionScope : IDisposable

NameDescription
System_CAPS_pubmethodGraphTransactionScope()

Constructor. This associates this GraphTransactionScope with ones on outer scope blocks by using a TLS variable.

System_CAPS_pubmethodGraphTransactionScope(GraphTransactionScopeOptions)

Constructor. This associates this GraphTransactionScope with ones on outer scope blocks by using a TLS variable.

System_CAPS_pubmethodGraphTransactionScope(String)

Constructor. This associates this GraphTransactionScope with ones on outer scope blocks by using a TLS variable.

System_CAPS_pubmethodGraphTransactionScope(Transaction)

Constructor. This associates this GraphTransactionScope with ones on outer scope blocks by using a TLS variable.

NameDescription
System_CAPS_pubpropertyScopeProperties

The property bag associated with this scope.

NameDescription
System_CAPS_pubmethodComplete()

Mark us as completed. Dispose will check this and if this wasn't called, the transaction will abort.

System_CAPS_pubmethodDispose()

IDisposable.Dispose.

System_CAPS_protmethodDispose(Boolean)

Dispose implementation

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show:
© 2016 Microsoft