This document is archived and information here might be outdated.  Recommended version.

INAContextEvents Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAContextEvents Interface
ArcGIS Developer Help

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.


Name Description
Method OnNAContextUpdated Called when the network analysis context is updated.
Method OnNAResultUpdated Called when the network analysis result is updated.

Classes that implement INAContextEvents

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.