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
UWP100.15

CreateAsync(Uri, Credential)

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

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

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

Credential credential

The security credential for the online map service.

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
UWP100.15

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
UWP100.15
In This Article
Back to top Copyright © 2022 Esri.