Class UserStorage
A storage area for a user's unique read/write file system
public sealed class UserStorage : Storage, IDisposable
- Inheritance
-
UserStorage
- Implements
- Inherited Members
Constructors
UserStorage(string, string, Properties?)
Creates a new UserStorage
public UserStorage(string orgName, string appName, Properties? properties = null)
Parameters
orgNamestringThe name of your organization
appNamestringThe name of your application
propertiesPropertiesAn optional group of properties that may contain backend-specific information
Remarks
While a TitleStorage can generally be kept open throughout runtime, a UserStorage should only be opened when the application is ready to read or write files. This allows the backend to properly batch file operations and flush them when the container has been closed; ensuring safe and optimal save I/O.
Exceptions
- SdlException
The UserStorage could not be opened (check TryGet(out string?) for more information)