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


INAContextHelper Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAContextHelper Interface

Provides access to the helper class to get the network analysis context.

Product Availability

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

Members

Description
Read-only property NAContext The network analysis context.

Remarks

The INAContextHelper interface is the main interface of the NAContextHelper object whose purpose is to maintain a weak reference to the NAContext to avoid circular references.

When passed a reference to a INAContextHelper interface, it is because you should not have a strong reference to the NAContext object itself.  Instead, keep a reference to the NAContextHelper and get the NAContext object from the NAContext property on the INAContextHelper interface instead.