Click or drag to resize

ExportTileCacheTaskCreateAsync Method (Uri, String)

Creates an export tile cache task from a map or image service URI.

Namespace:  Esri.ArcGISRuntime.Tasks.Offline
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
public static Task<ExportTileCacheTask> CreateAsync(
	Uri serviceUri,
	string apiKey


Type: SystemUri
A URI of an ArcGIS REST map or image service that supports tile cache export.
Type: SystemString
The unique key generated from ArcGIS Developers website.

Return Value

Type: TaskExportTileCacheTask
The task object representing the asynchronous create operation. The value of the task result is a ExportTileCacheTask object.
The service must support tile cache export as indicated by the ExportTilesAllowed property.
See Also