NSPersistentContainer.LoadPersistentStoresAsync 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.
Loads the persistent stores in the container and runs a completion handler when finished.
public virtual System.Threading.Tasks.Task<CoreData.NSPersistentStoreDescription> LoadPersistentStoresAsync ();
abstract member LoadPersistentStoresAsync : unit -> System.Threading.Tasks.Task<CoreData.NSPersistentStoreDescription>
override this.LoadPersistentStoresAsync : unit -> System.Threading.Tasks.Task<CoreData.NSPersistentStoreDescription>
Returns
A task that represents the asynchronous LoadPersistentStores operation. The value of the TResult parameter is of type System.Action<CoreData.NSPersistentStoreDescription,Foundation.NSError>.
Remarks
The LoadPersistentStoresAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.
To be added.