Add an event handler for the Deleted event. The Deleted event is raised when the profile is marked for deletion. When this event is raised, the CoreWebView2Profile and its corresponding CoreWebView2s have been closed, and cannot be used anymore.
\snippet AppWindow.cpp ProfileDeleted
See Implementation
Add an event handler for the Deleted event. The Deleted event is raised when the profile is marked for deletion. When this event is raised, the CoreWebView2Profile and its corresponding CoreWebView2s have been closed, and cannot be used anymore.
\snippet AppWindow.cpp ProfileDeleted