Method LoadAsync
LoadAsync(ISet<string>)
Downloads data from Cloud Save for the keys provided. There is no client validation in place for the provided keys. Throws a CloudSaveException with a reason code and explanation of what happened.
Declaration
Task<Dictionary<string, Item>> LoadAsync(ISet<string> keys)
Parameters
| Type | Name | Description |
|---|---|---|
| ISet<string> | keys | The optional set of keys to load data for |
Returns
| Type | Description |
|---|---|
| Task<Dictionary<string, Item>> | The dictionary of all key-value pairs that represents the current state of data on the server including their write locks |
Exceptions
| Type | Condition |
|---|---|
| CloudSaveException | Thrown if request is unsuccessful. |
| CloudSaveValidationException | Thrown if the service returned validation error. |
| CloudSaveRateLimitedException | Thrown if the service returned rate limited error. |