interface ICoreWebView2TrySuspendCompletedHandler
Note
This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.
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.
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈