GraphTransactionScope Constructors

Definition

Overloads

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.

GraphTransactionScope()

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

public:
 GraphTransactionScope();
public GraphTransactionScope ();
Public Sub New ()

Applies to

GraphTransactionScope(GraphTransactionScopeOptions)

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

public:
 GraphTransactionScope(Microsoft::VisualStudio::GraphModel::GraphTransactionScopeOptions options);
public GraphTransactionScope (Microsoft.VisualStudio.GraphModel.GraphTransactionScopeOptions options);
new Microsoft.VisualStudio.GraphModel.GraphTransactionScope : Microsoft.VisualStudio.GraphModel.GraphTransactionScopeOptions -> Microsoft.VisualStudio.GraphModel.GraphTransactionScope
Public Sub New (options As GraphTransactionScopeOptions)

Parameters

options
GraphTransactionScopeOptions

Options assocated with this transaction scope

Applies to

GraphTransactionScope(String)

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

public:
 GraphTransactionScope(System::String ^ id);
public GraphTransactionScope (string id);
new Microsoft.VisualStudio.GraphModel.GraphTransactionScope : string -> Microsoft.VisualStudio.GraphModel.GraphTransactionScope
Public Sub New (id As String)

Parameters

id
String

Applies to

GraphTransactionScope(Transaction)

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

public:
 GraphTransactionScope(System::Transactions::Transaction ^ transaction);
public GraphTransactionScope (System.Transactions.Transaction transaction);
new Microsoft.VisualStudio.GraphModel.GraphTransactionScope : System.Transactions.Transaction -> Microsoft.VisualStudio.GraphModel.GraphTransactionScope
Public Sub New (transaction As Transaction)

Parameters

transaction
Transaction

The transaction to join

Applies to