Assembly: Microsoft.Xna.Framework.Storage (in microsoft.xna.framework.storage.dll)
public IAsyncResult BeginOpenContainer ( string displayName, AsyncCallback callback, Object state )
- A constant human-readable string that names the file.
- An AsyncCallback that represents the method called when the operation is complete.
- A user-created object used to uniquely identify the request, or null.
After the container is opened, changes to the files within the container are cached until the container is disposed. For this reason, only one container per profile can be opened concurrently on the same device.
If the storage device is removed or the Xbox 360 console is powered down before the container is disposed, any changes are lost.