Freigeben über


GameListEntry.SetLauncherExecutableFileAsync Methode

Definition

Überlädt

SetLauncherExecutableFileAsync(IStorageFile)

Legt den Startpfad für die ausführbare Datei und die Startparameter des Spiels fest. Dies kann fehlschlagen, wenn LaunchableState auf ByTitle festgelegt ist.

SetLauncherExecutableFileAsync(IStorageFile, String)

Legt den Startpfad für die ausführbare Datei des Spiels fest. Dies kann fehlschlagen, wenn LaunchableState auf ByTitle festgelegt ist.

SetLauncherExecutableFileAsync(IStorageFile)

Legt den Startpfad für die ausführbare Datei und die Startparameter des Spiels fest. Dies kann fehlschlagen, wenn LaunchableState auf ByTitle festgelegt ist.

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

Parameter

executableFile
IStorageFile

Gibt zurück

Attribute

Windows-Anforderungen

Gerätefamilie
Windows Desktop Extension SDK (eingeführt in 10.0.16299.0)
Windows Mobile Extension SDK (eingeführt in 10.0.16299.0)
API contract
Windows.Gaming.Preview.GamesEnumerationContract (eingeführt in v2.0)
App-Funktionen
gameList

Hinweise

Diese API ist nicht für alle Apps verfügbar. Sofern Ihr Entwicklerkonto nicht speziell von Microsoft bereitgestellt wird, schlagen Aufrufe dieser APIs zur Laufzeit fehl.

Gilt für:

SetLauncherExecutableFileAsync(IStorageFile, String)

Legt den Startpfad für die ausführbare Datei des Spiels fest. Dies kann fehlschlagen, wenn LaunchableState auf ByTitle festgelegt ist.

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

Parameter

executableFile
IStorageFile
launchParams
String

Platform::String

winrt::hstring

Gibt zurück

Attribute

Windows-Anforderungen

Gerätefamilie
Windows Desktop Extension SDK (eingeführt in 10.0.16299.0)
Windows Mobile Extension SDK (eingeführt in 10.0.16299.0)
API contract
Windows.Gaming.Preview.GamesEnumerationContract (eingeführt in v2.0)
App-Funktionen
gameList

Hinweise

Diese API ist nicht für alle Apps verfügbar. Sofern Ihr Entwicklerkonto nicht speziell von Microsoft bereitgestellt wird, schlagen Aufrufe dieser APIs zur Laufzeit fehl.

Gilt für: