Show / Hide Table of Contents

Method CreateAsync

CreateAsync(Uri)

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

Declaration
public static async Task<ExportTileCacheTask> CreateAsync(Uri serviceUri)
Parameters
Type Name Description
Uri serviceUri

A URI of an ArcGIS REST map or image service that supports tile cache export.

Returns
Type Description
Task<ExportTileCacheTask>

The task object representing the asynchronous create operation. The value of the task result is a ExportTileCacheTask object.

Remarks

The service must support tile cache export as indicated by the ExportTilesAllowed property.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.14
.NET 6.0100.14
.NET 6.0 Windows100.14
.NET Framework100.14
Xamarin.Android100.14
Xamarin.iOS100.14
UWP100.14

CreateAsync(Uri, String)

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

Declaration
public static async Task<ExportTileCacheTask> CreateAsync(Uri serviceUri, string apiKey)
Parameters
Type Name Description
Uri serviceUri

A URI of an ArcGIS REST map or image service that supports tile cache export.

String apiKey

The unique key generated from ArcGIS Developers website.

Returns
Type Description
Task<ExportTileCacheTask>

The task object representing the asynchronous create operation. The value of the task result is a ExportTileCacheTask object.

Remarks

The service must support tile cache export as indicated by the ExportTilesAllowed property.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.10 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.10 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.10 - 100.12
Xamarin.Android100.10 - 100.14
Xamarin.iOS100.10 - 100.14
UWP100.10 - 100.14
In This Article
Back to top Copyright © 2021 Esri.