Dela via


ICustomerCollection.QueryAsync(IQuery) Method

Definition

Asynchronously queries customers associated to the partner.

  • 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.
  • You can navigate to other pages by specifying a seek query with the seek operation and the continuation token sent by the previous operation.
public System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.SeekBasedResourceCollection<Microsoft.Store.PartnerCenter.Models.Customers.Customer>> QueryAsync (Microsoft.Store.PartnerCenter.Models.Query.IQuery customersQuery);
abstract member QueryAsync : Microsoft.Store.PartnerCenter.Models.Query.IQuery -> System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.SeekBasedResourceCollection<Microsoft.Store.PartnerCenter.Models.Customers.Customer>>
Public Function QueryAsync (customersQuery As IQuery) As Task(Of SeekBasedResourceCollection(Of Customer))

Parameters

customersQuery
IQuery

A query to apply onto customers. Check QueryFactory to see how to build queries.

Returns

The requested customers.

Applies to