Show / Hide Table of Contents

Method CreateAsync

CreateAsync(Uri)

Creates a geodatabase sync task from an online URI.

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

A URI to the online feature service info with sync capabilities.

Returns
Type Description
Task<GeodatabaseSyncTask>

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

Applies to

Platforms and versions
TargetVersions
UWP100.15

CreateAsync(Uri, Credential)

Creates a geodatabase sync task from an online URI.

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

A URI to the online feature service info with sync capabilities.

Credential credential

The security credential for the online feature service.

Returns
Type Description
Task<GeodatabaseSyncTask>

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

Applies to

Platforms and versions
TargetVersions
UWP100.15

CreateAsync(Uri, String)

Creates a geodatabase sync task from an online URI.

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

A URI to the online feature service info with sync capabilities.

String apiKey

The unique key generated from ArcGIS Developers website.

Returns
Type Description
Task<GeodatabaseSyncTask>

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

Applies to

Platforms and versions
TargetVersions
UWP100.15
In This Article
Back to top Copyright © 2022 Esri.