CKContainer.FetchLongLivedOperation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提取由 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
指示成功的错误。
- 属性