Method QueryFeaturesAsync
QueryFeaturesAsync(CancellationToken)
Submits a query against the UtilityAssociationFeatureSource. This will return all features.
Declaration
public Task<UtilityAssociationFeatureSourceQueryResult> QueryFeaturesAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | A cancellation token that can be used to cancel the operation. |
Returns
| Type | Description |
|---|---|
| Task<UtilityAssociationFeatureSourceQueryResult> | A Task that returns a UtilityAssociationFeatureSourceQueryResult type. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |
QueryFeaturesAsync(UtilityAssetType, CancellationToken)
Submits a query against the UtilityAssociationFeatureSource. This will return all features for the asset type.
Declaration
public Task<UtilityAssociationFeatureSourceQueryResult> QueryFeaturesAsync(UtilityAssetType assetType, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UtilityAssetType | assetType | The UtilityAssetType for features to be included in the query. The UtilityAssetType should be one from AssetTypes. |
| CancellationToken | cancellationToken | A cancellation token that can be used to cancel the operation. |
Returns
| Type | Description |
|---|---|
| Task<UtilityAssociationFeatureSourceQueryResult> | A Task that returns a UtilityAssociationFeatureSourceQueryResult type. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |
QueryFeaturesAsync(UtilityAssetType, QueryParameters, CancellationToken)
Submits a query against the UtilityAssociationFeatureSource.
Declaration
public Task<UtilityAssociationFeatureSourceQueryResult> QueryFeaturesAsync(UtilityAssetType assetType, QueryParameters parameters, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UtilityAssetType | assetType | The UtilityAssetType for features to be included in the query. The UtilityAssetType should be one from AssetTypes. |
| QueryParameters | parameters | A query that defines the features to select from the UtilityAssociationFeatureSource. |
| CancellationToken | cancellationToken | A cancellation token that can be used to cancel the operation. |
Returns
| Type | Description |
|---|---|
| Task<UtilityAssociationFeatureSourceQueryResult> | A Task that returns a UtilityAssociationFeatureSourceQueryResult type. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |
QueryFeaturesAsync(QueryParameters, CancellationToken)
Submits a query against the UtilityAssociationFeatureSource.
Declaration
public Task<UtilityAssociationFeatureSourceQueryResult> QueryFeaturesAsync(QueryParameters parameters, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| QueryParameters | parameters | A query that defines the features to select from the UtilityAssociationFeatureSource. |
| CancellationToken | cancellationToken | A cancellation token that can be used to cancel the operation. |
Returns
| Type | Description |
|---|---|
| Task<UtilityAssociationFeatureSourceQueryResult> | A Task that returns a UtilityAssociationFeatureSourceQueryResult type. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |