Method CreateAsync
CreateAsync(Uri)
Creates and loads utility network using the URI to the feature service.
Declaration
public static async Task<UtilityNetwork> CreateAsync(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | The URI to the Feature Service. |
Returns
Type | Description |
---|---|
Task<Utility |
The task object representing the asynchronous create operation. The value of the task result is a Utility |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |
CreateAsync(Uri, Credential)
Creates and loads utility network using the URI to the feature service.
Declaration
public static async Task<UtilityNetwork> CreateAsync(Uri uri, Credential credential)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | The URI to the Feature Service. |
Credential | credential | The security credential for the feature service. |
Returns
Type | Description |
---|---|
Task<Utility |
The task object representing the asynchronous create operation. The value of the task result is a Utility |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |
CreateAsync(Uri, Map)
Creates and loads utility network using the URL to the feature service and a map.
Declaration
public static async Task<UtilityNetwork> CreateAsync(Uri uri, Map map)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | The URI to the Feature Service. |
Map | map | A Map that provides FeatureTables to be reused by the utility network. |
Returns
Type | Description |
---|---|
Task<Utility |
The task object representing the asynchronous create operation. The value of the task result is a Utility |
Remarks
Creates a utility network associated with a particular service, using the same Arc
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |