-api-id | -api-type |
---|---|
T:Windows.UI.WebUI.WebUIApplication |
winrt class |
Enables an app to receive notifications related to the lifetime of the app.
The system creates this object when it runs the app.
Note
This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX).
Windows version | SDK version | Value added |
---|---|---|
1607 | 14393 | EnablePrelaunch |
1607 | 14393 | EnteredBackground |
1607 | 14393 | LeavingBackground |
1709 | 16299 | RequestRestartAsync |
1709 | 16299 | RequestRestartForUserAsync |
1809 | 17763 | BackgroundActivated |
1809 | 17763 | NewWebUIViewCreated |
App lifecycle, App lifecycle, App lifecycle, App activated, resume, and suspend using the WRL sample