GraphTransactionScopeOptions Enumeration

Options for the GraphTransactionScope.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration GraphTransactionScopeOptions
[FlagsAttribute]
public enum GraphTransactionScopeOptions
[FlagsAttribute]
public enum class GraphTransactionScopeOptions
[<FlagsAttribute>]
type GraphTransactionScopeOptions
public enum GraphTransactionScopeOptions

Members

Member name Description
DisableEvents This is for internal use only. This option causes us to stop transacting certain changes. It currently only supports turning off "Add" operations in the case where the item being added was not already changed during the transaction. For example, this is used to stop lots of weird change events being generated inside GraphNode and GraphLink constructors. Instead, you get one event about that new node or link when it is added to the graph.
None

See Also

Reference

Microsoft.VisualStudio.GraphModel Namespace