Share via


Application.SavePropertiesAsync Method

Definition

Asynchronously persists the Properties dictionary for the application object.

public System.Threading.Tasks.Task SavePropertiesAsync ();
member this.SavePropertiesAsync : unit -> System.Threading.Tasks.Task

Returns

System.Threading.Tasks.Task

A task that represents the asynchronous save operation.

Remarks

The developer uses this method to persist the application state that is currently stored in Properties immediately, rather than waiting for a life cycle event to trigger the data to be saved to the device's permanent storage.

Applies to