How to detect that the WebView2 control is in a closed state #3965
Unanswered
WildlifeSOS
asked this question in
Q&A
Replies: 1 comment
-
There is a ProcessFailed event may be helpful: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My .Net 4.8 Winforms application currently uses WebView2 version 1.0.1245.22
Every so often some users using it tell me that forms containing WebView2 controls don't display any content and I'm trying to find out why.
I've added a CoreWebView2 ProcessFailed event handler to see if that gets triggered.
Looking at the help for CoreWebView2ProcessFailedKind I see that it can return BrowserProcessExited and the description of that indicates that
Is there any way of detecting that has happened from any of the WebView2 properties?
Beta Was this translation helpful? Give feedback.
All reactions