共用方式為


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>

處理常式,接受所有目前作用中長期作業的識別碼陣列和錯誤,這可能 null 表示成功。

屬性

適用於