Method GetRulesAsync
GetRulesAsync(IEnumerable<UtilityAssetType>, CancellationToken)
Queries for a subset of Utility
Declaration
public Task<IEnumerable<UtilityRule>> GetRulesAsync(IEnumerable<UtilityAssetType> assetTypes, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System. |
assetTypes | |
System. |
cancellationToken |
Returns
Type | Description |
---|---|
System. |
A System. |
Remarks
Use this method to return network rules applicable to features of specific asset types. Limiting these asset types to those features being edited can substantially reduce the number of network rules returned.
These asset types will be matched against the Asset
If the collection of Utility
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.6 |
.NET | 200.3 - 200.6 |
.NET Windows | 200.3 - 200.6 |
.NET Android | 200.3 - 200.6 |
.NET iOS | 200.3 - 200.6 |
.NET Framework | 200.3 - 200.6 |
UWP | 200.3 - 200.6 |