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>
處理常式,接受所有目前作用中長期作業的識別碼陣列和錯誤,這可能 null
表示成功。
- 屬性