interface ICoreWebView2TrySuspendCompletedHandler
interface ICoreWebView2TrySuspendCompletedHandler
: public IUnknown
The caller implements this interface to receive the TrySuspend result.
Summary
Members | Descriptions |
---|---|
Invoke | Provides the result of the TrySuspend operation. |
Applies to
Product | Introduced |
---|---|
WebView2 Win32 | 1.0.774.44 |
WebView2 Win32 Prerelease | 1.0.790 |
Members
Invoke
Provides the result of the TrySuspend operation.
public HRESULT Invoke(HRESULT errorCode, BOOL isSuccessful)
See Sleeping Tabs FAQ for conditions that might prevent WebView from being suspended. In those situations, isSuccessful will be false and errorCode is S_OK.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for