IsolatedStorageSettings.Save Method
Saves data written to the current IsolatedStorageSettings object.
Namespace: System.IO.IsolatedStorage
Assembly: System.Windows (in System.Windows.dll)
| Exception | Condition |
|---|---|
| IsolatedStorageException | The IsolatedStorageFile does not have enough available free space. |
Data written to the IsolatedStorageSettings object is saved when the application that uses the class is closed. This can occur when the user closes the Web browser, refreshes a page, or browses away from the page. If you want your application to write to isolated storage immediately, you can call the Save method in application code.
If the IsolatedStorageFile does not have enough available free space to save your application settings, an IsolatedStorageException will be thrown. If more space is required, use the IsolatedStorageFile.IncreaseQuotaTo method to request more storage space from the host.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.