Click or drag to resize

TrafficFetcherAddSource Method (String, Type, TimeSpan, HandleDataDelegate, ICredentials)

Verizon Connect Logo
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,
	ICredentials credentials
)

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
credentials
Type: System.NetICredentials
The credentials to use when requesting data.
See Also