IServiceRequestCollection.QueryAsync(IQuery) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously queries service requests.
- Count queries are not supported by this operation.
- You can set the page size or filter or do both at the same time.
- Sort is not supported. Default sorting is on status field.
public System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.ServiceRequests.ServiceRequest>> QueryAsync (Microsoft.Store.PartnerCenter.Models.Query.IQuery serviceRequestsQuery);
abstract member QueryAsync : Microsoft.Store.PartnerCenter.Models.Query.IQuery -> System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.ServiceRequests.ServiceRequest>>
Public Function QueryAsync (serviceRequestsQuery As IQuery) As Task(Of ResourceCollection(Of ServiceRequest))
Parameters
- serviceRequestsQuery
- IQuery
A query to apply onto service requests. Check QueryFactory to see how to build queries.
Returns
The requested service requests.