共用方式為


StorageDevice.BeginShowSelector Method (AsyncCallback, Object)

Begins the process for displaying the storage device selector user interface, and for specifying a 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 (
         AsyncCallback callback,
         Object state
)

Parameters

  • 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

Reference

StorageDevice Class
StorageDevice Members
Microsoft.Xna.Framework.Storage Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP