ArcObjects Library Reference (NetworkAnalyst)  

INAContextEvents Interface

Provides access to events triggered by the network analysis context.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.


Event OnNAContextUpdated Called when the network analysis context is updated.
Event OnNAResultUpdated Called when the network analysis result is updated.

CoClasses that implement INAContextEvents

CoClasses and Classes Description
NAContext The analysis and problem definition container.
NAContextEvents NAContext events. This class only provides access to the INAContextEvents outbound interface.
NAContextEventsListener (esriSystemUtility) Helper coclass to provide INAContextEvents support to the C++ API.
NAWindow (esriNetworkAnalystUI) The network analysis window.


The INAContextEvents interface is an outgoing interface that notifies clients when the NAContext or the NATraversalResult is modified.

OnNAContextUpdated is raised in response to ContextChanged being called on INAContextEditOnNAResultUpdated is raised in response to ResultChanged being called on INAContextEdit.