- Declared in: RT.Serialization.Settings.SettingsFile<TSettings>
Declaration
public SettingsFile<TSettings>(
string filename,
bool throwOnError
)
Summary
Configures
filename as the location of the settings file, bypassing all logic related to
portable mode, and loads the settings. Avoid where possible and use the other constructor.
Parameters
string | filename |
Full path and filename of the settings file. |
bool | throwOnError |
If true, any errors while loading the file are silently suppressed and a default instance is loaded instead. If
false, such errors are propagated to the caller as exceptions. This value is also used as the default value for
throwOnError when calling SettingsFile<TSettings>.Save(bool?). |