CKDatabase.PerformQueryAsync(CKQuery, CKRecordZoneID) 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.
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
- zoneId
- CKRecordZoneID
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