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[]

要提取的长生存期操作的 ID。

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

接收未完成操作的处理程序,以及可能 null 指示成功的错误。

属性

适用于