GraphTransactionScope Constructor (GraphTransactionScopeOptions)
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 ( _
options As GraphTransactionScopeOptions _
)
public GraphTransactionScope(
GraphTransactionScopeOptions options
)
public:
GraphTransactionScope(
GraphTransactionScopeOptions options
)
new :
options:GraphTransactionScopeOptions -> GraphTransactionScope
public function GraphTransactionScope(
options : GraphTransactionScopeOptions
)
Parameters
options
Type: Microsoft.VisualStudio.GraphModel.GraphTransactionScopeOptionsOptions associated with this transaction scope
.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.