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


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

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

Name Description
Read-only property NAContext The network analysis context.

Classes that implement INAContextHelper

Classes Description

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.