CKContainer.FetchAllLongLivedOperationIDs 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个数组,其中包含当前活动的所有长期操作的标识符。
[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
指示成功。
- 属性