Show / Hide Table of Contents

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
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300

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
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300

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
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300

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
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300
In this article
Provide feedback
Back to top Copyright © 2025 Esri.