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


ITrafficProvider.GetIncidentsData Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IT > ITrafficProvider Interface > ITrafficProvider.GetIncidentsData Method
ArcGIS Developer Help

ITrafficProvider.GetIncidentsData Method

Retrieves enumerator for incident data sequence for the specified task.

[Visual Basic .NET]
Public Function GetIncidentsData ( _
    ByVal pRegions As IArray, _
    ByVal pProviderCredentials As ITrafficProviderCredentials _
) As IEnumTrafficRegionIncidents
[C#]
public IEnumTrafficRegionIncidents GetIncidentsData (
    IArray pRegions,
    ITrafficProviderCredentials pProviderCredentials
);
[C++]
HRESULT GetIncidentsData(
  IArray* pRegions,
  ITrafficProviderCredentials* pProviderCredentials
);
[C++]
Parameters
pRegions [in]

pRegions is a parameter of type IArray* pProviderCredentials [in]
pProviderCredentials is a parameter of type ITrafficProviderCredentials*

Product Availability

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

Remarks

Based on an array of objects implementing ITrafficRegion and an object implementing ITrafficProviderCredentials, GetIncidentsData returns an enumerator of traffic incident entries by region.

See Also

ITrafficProvider Interface