Condividi tramite


CKContainer.FetchLongLivedOperation Metodo

Definizione

Recupera l'operazione di lunga durata identificata da 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

Parametri

operationID
String[]

ID dell'operazione di lunga durata da recuperare.

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

Gestore che riceve l'operazione in sospeso e un errore che può essere null quello di indicare l'esito positivo.

Attributi

Si applica a