NSPersistentContainer.Perform(Action<NSManagedObjectContext>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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