Show / Hide Table of Contents

Method GetAssociationFeatureSourcesAsync

GetAssociationFeatureSourcesAsync(UtilityAssociationsFilter, CancellationToken)

Gets the UtilityAssociationFeatureSource objects from the UtilityNetwork.

Declaration
public Task<IReadOnlyList<UtilityAssociationFeatureSource>> GetAssociationFeatureSourcesAsync(UtilityAssociationsFilter filter, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UtilityAssociationsFilter filter

The UtilityAssociationsFilter that provides the filter definition.

CancellationToken cancellationToken

A cancellation token that can be used to cancel the operation.

Returns
Type Description
Task<IReadOnlyList<UtilityAssociationFeatureSource>>

A list of UtilityAssociationFeatureSource objects.

Remarks

Checks the utility rules and the filter definition to find all UtilityAssociationFeatureSource objects that can be used to create an association. Use QueryFeaturesAsync(CancellationToken) to get the actual features from a UtilityAssociationFeatureSource.

Applies to

Platforms and versions
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300
In this article
Provide feedback
Back to top Copyright © 2025 Esri.