Condividi tramite


GameListEntry.SetLauncherExecutableFileAsync Metodo

Definizione

Overload

SetLauncherExecutableFileAsync(IStorageFile)

Imposta il percorso di avvio per i parametri eseguibili e di avvio del gioco. Questo errore può verificarsi se LaunchableState è impostato su ByTitle.

SetLauncherExecutableFileAsync(IStorageFile, String)

Imposta il percorso di avvio per il file eseguibile del gioco. Questo errore può verificarsi se LaunchableState è impostato su ByTitle.

SetLauncherExecutableFileAsync(IStorageFile)

Imposta il percorso di avvio per i parametri eseguibili e di avvio del gioco. Questo errore può verificarsi se LaunchableState è impostato su ByTitle.

public:
 virtual IAsyncAction ^ SetLauncherExecutableFileAsync(IStorageFile ^ executableFile) = SetLauncherExecutableFileAsync;
/// [Windows.Foundation.Metadata.Overload("SetLauncherExecutableFileAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SetLauncherExecutableFileAsync(IStorageFile const& executableFile);
[Windows.Foundation.Metadata.Overload("SetLauncherExecutableFileAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SetLauncherExecutableFileAsync(IStorageFile executableFile);
function setLauncherExecutableFileAsync(executableFile)
Public Function SetLauncherExecutableFileAsync (executableFile As IStorageFile) As IAsyncAction

Parametri

executableFile
IStorageFile

Restituisce

Attributi

Requisiti Windows

Famiglia di dispositivi
Windows Desktop Extension SDK (è stato introdotto in 10.0.16299.0)
Windows Mobile Extension SDK (è stato introdotto in 10.0.16299.0)
API contract
Windows.Gaming.Preview.GamesEnumerationContract (è stato introdotto in v2.0)
Funzionalità dell'app
gameList

Commenti

Questa API non è disponibile per tutte le app. A meno che l'account sviluppatore non venga effettuato appositamente da Microsoft, le chiamate a queste API avranno esito negativo in fase di esecuzione.

Si applica a

SetLauncherExecutableFileAsync(IStorageFile, String)

Imposta il percorso di avvio per il file eseguibile del gioco. Questo errore può verificarsi se LaunchableState è impostato su ByTitle.

public:
 virtual IAsyncAction ^ SetLauncherExecutableFileAsync(IStorageFile ^ executableFile, Platform::String ^ launchParams) = SetLauncherExecutableFileAsync;
/// [Windows.Foundation.Metadata.Overload("SetLauncherExecutableFileWithParamsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SetLauncherExecutableFileAsync(IStorageFile const& executableFile, winrt::hstring const& launchParams);
[Windows.Foundation.Metadata.Overload("SetLauncherExecutableFileWithParamsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SetLauncherExecutableFileAsync(IStorageFile executableFile, string launchParams);
function setLauncherExecutableFileAsync(executableFile, launchParams)
Public Function SetLauncherExecutableFileAsync (executableFile As IStorageFile, launchParams As String) As IAsyncAction

Parametri

executableFile
IStorageFile
launchParams
String

Platform::String

winrt::hstring

Restituisce

Attributi

Requisiti Windows

Famiglia di dispositivi
Windows Desktop Extension SDK (è stato introdotto in 10.0.16299.0)
Windows Mobile Extension SDK (è stato introdotto in 10.0.16299.0)
API contract
Windows.Gaming.Preview.GamesEnumerationContract (è stato introdotto in v2.0)
Funzionalità dell'app
gameList

Commenti

Questa API non è disponibile per tutte le app. A meno che l'account sviluppatore non venga effettuato appositamente da Microsoft, le chiamate a queste API avranno esito negativo in fase di esecuzione.

Si applica a