Edytuj

Udostępnij za pośrednictwem


CKContainer.FetchLongLivedOperation Method

Definition

Fetches the long-lived operation that is identified by 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

Parameters

operationID
String[]

The ID of the long-lived operation to fetch.

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

A handler that receives the outstanding operation and an error that may be null to indicate success.

Attributes

Applies to