StorageDevice.BeginShowSelector Method (PlayerIndex, AsyncCallback, Object)
Begins the process for displaying the storage device selector user interface; specifies the callback implemented when the player chooses a device.
Namespace: Microsoft.Xna.Framework.Storage
Assembly: Microsoft.Xna.Framework.Storage (in microsoft.xna.framework.storage.dll)
Syntax
public static IAsyncResult BeginShowSelector (
PlayerIndex player,
AsyncCallback callback,
Object state
)
Parameters
- player
Type: PlayerIndex
The PlayerIndex that represents the player who requested the save operation. On Windows, the only valid option is PlayerIndex.One. - 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