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


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

INAAgent Interface

Provides access to properties/methods common to all network analysis agents.

Product Availability

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

Members

Name Description
Method Applies Indicates if the agent is appropriate to use with the given network dataset.
Method Initialize Get the agent ready for action.
Read-only property Name The name of the agent.
Method OnContextUpdated Called when the context is updated.
Method OnResultUpdated Called when a result is updated.

Classes that implement INAAgent

Classes Description
NACompactStreetDirectionsAgent Generates compact driving directions for network analysis results.
NAStreetDirectionsAgent Generates driving directions for network analysis results.

Remarks

INAAgent is the interface implemented by objects that wish to be attached to the NAContext and to be notified when various events occur like when the context or the context's results are updated.

The NAStreetDirectionsAgent is an extension to the NAContext that implements INAAgent to generate street directions.