Show / Hide Table of Contents

Method CreateAsync

CreateAsync(Uri)

Creates a new instance of the LocatorTask class

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

The URL to locator web service endpoint or URI path to a locally stored locator

Returns
Type Description
Task<LocatorTask>

A task that represents the asynchronous creation operation. The value of the task result is a LocatorTask object.

Applies to

Platforms and versions
TargetVersions
UWP100.15

CreateAsync(Uri, Credential)

Creates a new instance of the LocatorTask class

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

The URL to locator web service endpoint or URI path to a locally stored locator

Credential credential

The security credential used for accessing the locator web service, if a web service is being used

Returns
Type Description
Task<LocatorTask>

A task that represents the asynchronous creation operation. The value of the task result is a LocatorTask object.

Applies to

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