StorageDevice.BeginShowSelector Method (Int32, Int32, AsyncCallback, Object)
Begins the process for displaying the storage device selector user interface, and for specifying the size of the data to be written to the storage device and the callback implemented when the player chooses a device.
The request is performed asynchronously.
Namespace: Microsoft.Xna.Framework.Storage
Assembly: Microsoft.Xna.Framework.Storage (in microsoft.xna.framework.storage.dll)
Syntax
public static IAsyncResult BeginShowSelector (
int sizeInBytes,
int directoryCount,
AsyncCallback callback,
Object state
)
Parameters
- sizeInBytes
Type: Int32
The size, in bytes, of data to write to the storage device. - directoryCount
Type: Int32
The number of directories to write to the storage device. - callback
Type: AsyncCallback
An AsyncCallback that represents the method called when the player chooses a device. - state
Type: Object
A user-created object used to uniquely identify the request, or null.
Return Value
The IAsyncResult used to determine when the asynchronous request is finished.
See Also
Tasks
What Is Storage?
Getting a StorageDevice Asynchronously
Working with Asynchronous Methods in XNA Game Studio
Reference
StorageDevice Class
StorageDevice Members
Microsoft.Xna.Framework.Storage Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP