ArcObjects Library Reference (NetworkAnalyst)  

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

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.

CoClasses that implement INAAgent

CoClasses and 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.