CKContainer.FetchAllLongLivedOperationIDs 方法

定义

返回一个数组,其中包含当前活动的所有长期操作的标识符。

[Foundation.Export("fetchAllLongLivedOperationIDsWithCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, 4, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void FetchAllLongLivedOperationIDs (Action<Foundation.NSDictionary<Foundation.NSString,Foundation.NSOperation>,Foundation.NSError> completionHandler);
abstract member FetchAllLongLivedOperationIDs : Action<Foundation.NSDictionary<Foundation.NSString, Foundation.NSOperation>, Foundation.NSError> -> unit
override this.FetchAllLongLivedOperationIDs : Action<Foundation.NSDictionary<Foundation.NSString, Foundation.NSOperation>, Foundation.NSError> -> unit

参数

completionHandler
Action<NSDictionary<NSString,NSOperation>,NSError>

一个处理程序,它采用所有当前活动的长生存期操作的 ID 数组和一个错误,可能 null 指示成功。

属性

适用于