ConnectedStorageSpace Members

ConnectedStorageSpace has the following members.

Public Properties

  Name Description
IsReadOnly Retrieves a value indicating whether this storage space is read-only.
ServiceConfigurationId Retrieves the service configuration ID (SCID) this connected storage space is associated with.
User Retrieves the user that owns this connected storage space.

Public Methods

  Name Description
CreateContainer Creates a named ConnectedStorageContainer object that can be used to read or write data within this ConnectedStorageSpace.
CreateContainerInfoQuery Creates a container query for containers that start with the given prefix within this Connected Storage space.
DeleteContainerAsync Deletes the named container from within this Connected Storage space.
  GetForMachineAsync Overloaded. Gets a per-machine connected storage space.
  GetForUserAsync Overloaded. Gets a connected storage space for the specified user.
GetRemainingBytesInQuota64Async Gets the remaining bytes in the quota for this connected storage space.
GetRemainingBytesInQuotaAsync Gets the remaining bytes in the quota for this connected storage space.
  GetSyncOnDemandForUserAsync Overloaded. Gets a connected storage space on demand for the specified user.

Remarks

Note The Connected Storage API requires your title to have its title ID and service configuration ID (SCID) properly configured in order to work. For more information about these required IDs, see Setting Up Sandboxes for Xbox Live Development.

If you do not set your SCID and Title ID in the Package.appxmanifest properly, your Connected Storage API calls will fail with the following error code:

NoAccess - 0x80830002 - The operation failed because the title does not have write access to the container storage space.

If you do not have the ConnectedStorage service enabled for your SCID or you do not configure and publish your Xbox Live config properly, the Connected Storage API may present UI saying that it was unable to get your latest save data. See Xbox Live Services for more documentation.

See also

Reference

ConnectedStorageSpace Class

Windows.Xbox.Storage Namespace