GraphTransactionScopeOptions Enumeration

 

Options for the GraphTransactionScope.

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

[FlagsAttribute]
public enum GraphTransactionScopeOptions

Member nameDescription
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

Return to top
Show: