TrafficFetcherAddSource Method (String, Type, TimeSpan, HandleDataDelegate) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Add a new traffic source to the TrafficFetcher's traffic source list.
Namespace:
Telogis.GeoBase.Traffic
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public void AddSource(
string url,
Type type,
TimeSpan expiry,
HandleDataDelegate zipFunction
)
Public Sub AddSource (
url As String,
type As Type,
expiry As TimeSpan,
zipFunction As HandleDataDelegate
)
Parameters
- url
- Type: SystemString
The URL of the traffic source. - type
- Type: SystemType
The type of the traffic source. - expiry
- Type: SystemTimeSpan
The amount of time that the traffic data from the traffic source is valid for, before an update is permitted. - zipFunction
- Type: HandleDataDelegate
The function to use to decompress the response stream.
See Also