Share via


CKDatabase.PerformQueryAsync(CKQuery, CKRecordZoneID) Method

Definition

Executes the query on the zone identified by zoneId.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<CloudKit.CKRecord[]> PerformQueryAsync(CloudKit.CKQuery query, CloudKit.CKRecordZoneID? zoneId);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PerformQueryAsync : CloudKit.CKQuery * CloudKit.CKRecordZoneID -> System.Threading.Tasks.Task<CloudKit.CKRecord[]>
override this.PerformQueryAsync : CloudKit.CKQuery * CloudKit.CKRecordZoneID -> System.Threading.Tasks.Task<CloudKit.CKRecord[]>

Parameters

query
CKQuery

Returns

A task that represents the asynchronous PerformQuery operation. The value of the TResult parameter is of type System.Action<CloudKit.CKRecord[],Foundation.NSError>.

Attributes

Applies to