com.esri.arcgis.networkanalyst
Interface INAContextHelper

All Superinterfaces:
Serializable
All Known Implementing Classes:
INAContextHelperProxy

public interface INAContextHelper
extends Serializable

Provides access to the helper class to get 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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 INAContext getNAContext()
          The network analysis context.
 

Method Detail

getNAContext

INAContext getNAContext()
                        throws IOException,
                               AutomationException
The network analysis context.

Remarks

NAContext returns the NAContext.

When passed a reference to an 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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.networkanalyst.INAContext
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.