Edit

Share via


NSPersistentContainer.Perform(Action<NSManagedObjectContext>) Method

Definition

Performs background task that is represented by block on the managed object context that was passed to it.

[Foundation.Export("performBackgroundTask:")]
public virtual void Perform (Action<CoreData.NSManagedObjectContext> block);
abstract member Perform : Action<CoreData.NSManagedObjectContext> -> unit
override this.Perform : Action<CoreData.NSManagedObjectContext> -> unit

Parameters

block
Action<NSManagedObjectContext>

The code to perform.

Attributes

Applies to