Method QueryFeaturesAsync
QueryFeaturesAsync(QueryParameters)
Asynchronously performs query against the table.
Declaration
public Task<FeatureQueryResult> QueryFeaturesAsync(QueryParameters parameters)
Parameters
| Type | Name | Description | 
|---|---|---|
| QueryParameters | parameters | The QueryParameters used to filter feature results.  | 
    
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<FeatureQueryResult> | A task that represents the asynchronous query features operation. The value of the task result contains a FeatureQueryResult object.  | 
    
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.0 - 200.8 | 
| Xamarin.Android | 100.0 - 100.15 | 
| Xamarin.iOS | 100.0 - 100.15 | 
| UWP | 100.0 - 200.8 | 
Relevant samples
Feature layer query: Find features in a feature table which match an SQL query.
QueryFeaturesAsync(QueryParameters, CancellationToken)
Asynchronously performs query against the table.
Declaration
public Task<FeatureQueryResult> QueryFeaturesAsync(QueryParameters parameters, CancellationToken cancellationToken)
Parameters
| Type | Name | Description | 
|---|---|---|
| QueryParameters | parameters | The QueryParameters used to filter feature results.  | 
    
| System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation.  | 
    
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<FeatureQueryResult> | A task that represents the asynchronous query features operation. The value of the task result contains a FeatureQueryResult object.  | 
    
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.2 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.0 - 200.8 | 
| Xamarin.Android | 100.0 - 100.14 | 
| Xamarin.iOS | 100.0 - 100.15 | 
| UWP | 100.0 - 200.8 |