[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.
ID: 4624da95-1d69-74f5-b6c9-882398863720
Version Independent ID: 578ee248-625e-3d4d-b7df-5d7726372b37
[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.