Share via


LaunchActivatedEventArgs Klasse

Definition

Stellt Ereignisinformationen für das Application.OnLaunched-Ereignis bereit .

public ref class LaunchActivatedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LaunchActivatedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LaunchActivatedEventArgs
Public NotInheritable Class LaunchActivatedEventArgs
Vererbung
Object Platform::Object IInspectable LaunchActivatedEventArgs
Attribute

Hinweise

Die Arguments Eigenschaften und UWPLaunchActivatedEventArgs werden in Windows App SDK Apps nicht unterstützt.

Sie können Befehlszeilenargumente für den aktuellen Prozess abrufen, indem Sie Folgendes aufrufen:

Eigenschaften

Arguments

Ruft die Argumente ab, die während des Starts an die Anwendung übergeben werden.

UWPLaunchActivatedEventArgs

Ruft die Windows.ApplicationModel.Activation.LaunchActivatedEventArgs für eine UWP-App ab. Darf nicht verwendet werden.

Gilt für: