ApplicationData.ClearAsync ApplicationData.ClearAsync ApplicationData.ClearAsync ApplicationData.ClearAsync ApplicationData.ClearAsync Method

Definition

Overloads

ClearAsync() ClearAsync() ClearAsync() ClearAsync() ClearAsync()

Removes all application data from the local, roaming, and temporary app data stores.

Note

ClearAsync() method encounters an error if there are any open file handles. You should take care to close all open files prior to calling ClearAsync.

ClearAsync(ApplicationDataLocality) ClearAsync(ApplicationDataLocality) ClearAsync(ApplicationDataLocality) ClearAsync(ApplicationDataLocality) ClearAsync(ApplicationDataLocality)

Removes all application data from the specified app data store.

Note

ClearAsync(ApplicationDataLocality) method encounters an error if there are any open file handles. You should take care to close all open files prior to calling ClearAsync.

ClearAsync() ClearAsync() ClearAsync() ClearAsync() ClearAsync()

Removes all application data from the local, roaming, and temporary app data stores.

Note

ClearAsync() method encounters an error if there are any open file handles. You should take care to close all open files prior to calling ClearAsync.

public : IAsyncAction ClearAsync()
IAsyncAction ClearAsync() const;
public IAsyncAction ClearAsync()
Public Function ClearAsync() As IAsyncAction
Windows.Storage.ApplicationData.clearAsync().done( /* Your success and error handlers */ );
Returns

An object that is used to manage the asynchronous clear operation.

See Also

ClearAsync(ApplicationDataLocality) ClearAsync(ApplicationDataLocality) ClearAsync(ApplicationDataLocality) ClearAsync(ApplicationDataLocality) ClearAsync(ApplicationDataLocality)

Removes all application data from the specified app data store.

Note

ClearAsync(ApplicationDataLocality) method encounters an error if there are any open file handles. You should take care to close all open files prior to calling ClearAsync.

public : IAsyncAction ClearAsync(ApplicationDataLocality locality)
IAsyncAction ClearAsync(ApplicationDataLocality locality) const;
public IAsyncAction ClearAsync(ApplicationDataLocality locality)
Public Function ClearAsync(locality As ApplicationDataLocality) As IAsyncAction
Windows.Storage.ApplicationData.clearAsync(locality).done( /* Your success and error handlers */ );
Parameters
Returns

An object that is used to manage the asynchronous clear operation.

See Also