共用方式為


CKContainer.FetchLongLivedOperation 方法

定義

擷取 所 operationID 識別的長時間存留作業。

[Foundation.Export("fetchLongLivedOperationWithID:completionHandler:")]
[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 FetchLongLivedOperation (string[] operationID, Action<Foundation.NSDictionary<Foundation.NSString,Foundation.NSOperation>,Foundation.NSError> completionHandler);
abstract member FetchLongLivedOperation : string[] * Action<Foundation.NSDictionary<Foundation.NSString, Foundation.NSOperation>, Foundation.NSError> -> unit
override this.FetchLongLivedOperation : string[] * Action<Foundation.NSDictionary<Foundation.NSString, Foundation.NSOperation>, Foundation.NSError> -> unit

參數

operationID
String[]

要擷取之長期作業的識別碼。

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

接收未完成作業的處理常式,以及可能 null 表示成功的錯誤。

屬性

適用於