AppInstance.GetActivatedEventArgs Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the event arguments for an app activation that was registered by using one of the static methods of the ActivationRegistrationManager class.
public:
virtual AppActivationArguments ^ GetActivatedEventArgs() = GetActivatedEventArgs;
/// [Windows.Foundation.Metadata.Experimental]
AppActivationArguments GetActivatedEventArgs();
AppActivationArguments GetActivatedEventArgs();
[Windows.Foundation.Metadata.Experimental]
public AppActivationArguments GetActivatedEventArgs();
public AppActivationArguments GetActivatedEventArgs();
function getActivatedEventArgs()
Public Function GetActivatedEventArgs () As AppActivationArguments
Returns
An object that contains the activation type and the data payload, or null
. See Remarks.
- Attributes
Remarks
The AppActivationArguments object returned is limited to those activation kinds that are supported in the Windows App SDK. As of version 1.0, those are Launch, File, Protocol, and StartupTask. For other activation kinds, GetActivatedEventArgs returns null
.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for