IServiceIncidentCollection.QueryAsync(IQuery) Method

Definition

Asynchronously queries service incidents.

public System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.ServiceIncidents.ServiceIncidents>> QueryAsync (Microsoft.Store.PartnerCenter.Models.Query.IQuery serviceIncidentsQuery);
abstract member QueryAsync : Microsoft.Store.PartnerCenter.Models.Query.IQuery -> System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.ServiceIncidents.ServiceIncidents>>
Public Function QueryAsync (serviceIncidentsQuery As IQuery) As Task(Of ResourceCollection(Of ServiceIncidents))

Parameters

serviceIncidentsQuery
IQuery

A query to retrieve service incidents based on the active status. The QueryFactory can be used to build queries. Service incident queries support simple queries. You can filter service incidents using their active status. ServiceIncidentSearchField lists the supported search fields. You can use the FieldFilterOperation enumeration to specify filtering operations. Supported filtering operations are: equals.

Returns

The list of service incidents that match the query.

Applies to