com.esri.arcgis.networkanalyst
Interface IEnumTrafficRegionIncidents

All Superinterfaces:
Serializable

public interface IEnumTrafficRegionIncidents
extends Serializable

Provides access to a sequence of incident data objects.

Product Availability

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


Method Summary
 void next(String[] pRegionName, IEnumTrafficIncidents[] ppIncidents, IGPMessages[] ppMessages)
          Retrieves next incident data from the sequence.
 void reset()
          Resets enumerator to the beginning of the sequence.
 

Method Detail

next

void next(String[] pRegionName,
          IEnumTrafficIncidents[] ppIncidents,
          IGPMessages[] ppMessages)
          throws IOException,
                 AutomationException
Retrieves next incident data from the sequence.

Remarks

Next returns the enumerator for the next region. The region is identified by its name. GPMessages that specify any data processing problems are returned as well.

Product Availability

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

Parameters:
pRegionName - The pRegionName (out: use single element array)
ppIncidents - A reference to a com.esri.arcgis.networkanalyst.IEnumTrafficIncidents (out: use single element array)
ppMessages - A reference to a com.esri.arcgis.geodatabase.IGPMessages (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

void reset()
           throws IOException,
                  AutomationException
Resets enumerator to the beginning of the sequence.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.