Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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: System.Transactions.Transaction- The transaction to join 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.