Partilhar via


NSPersistentContainer.Perform(Action<NSManagedObjectContext>) Método

Definição

Executa a tarefa em segundo plano representada por block no contexto de objeto gerenciado que foi passado para ele.

[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

Parâmetros

block
Action<NSManagedObjectContext>

O código a ser executado.

Atributos

Aplica-se a