Yes, they are the same.
The XAML team made a design decision to implement a generic OnActivated
override as well as strongly typed overrides for the most common types of app activation. It is a best practice that, if there is a specific override, you use the specific override (like OnSearchActivated
). But some advanced scenarios, like file or protocol activation, require OnActivated
.
Note: in the Page
pipeline, OnActivated
fires first, the typed overrides follow. Since an app can only be activated by a single kind at a time, the order of execution doesn't matter.
Best of luck!