Share via


GraphTransactionScope Constructor (Transaction)

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

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

Syntax

'Declaration
Public Sub New ( _
    transaction As Transaction _
)
public GraphTransactionScope(
    Transaction transaction
)
public:
GraphTransactionScope(
    Transaction^ transaction
)
new : 
        transaction:Transaction -> GraphTransactionScope
public function GraphTransactionScope(
    transaction : Transaction
)

Parameters

  • transaction
    Type: Transaction

    The transaction to join

.NET Framework Security

See Also

Reference

GraphTransactionScope Class

GraphTransactionScope Overload

Microsoft.VisualStudio.GraphModel Namespace