Method CreateAsync
CreateAsync(Uri)
Creates a new instance of the Locator
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<Locator |
A task that represents the asynchronous creation operation. The value of the task result is a Locator |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |
CreateAsync(Uri, Credential)
Creates a new instance of the Locator
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<Locator |
A task that represents the asynchronous creation operation. The value of the task result is a Locator |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |