MicrosoftDocs / winui-api

Public contributions for the Windows User Interface library
Creative Commons Attribution 4.0 International
79 stars 40 forks source link

LaunchActivatedEventArgs dosen't have PreviousExecutionState property #96

Closed felinepunch closed 2 months ago

felinepunch commented 2 years ago

[Enter feedback here] "if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)" in OnLaunched method, e(type LaunchActivatedEventArgs) dose not have PreviousExecutionState property. So compile error is occured.

And I comment out if statement, OnLaunched method throws exception because Window.Current is null.

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

jwmsft commented 2 months ago

The UWP code has been removed from the Frame class for WinUI 3 and the documentation updated.