Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.48 KB

icorewebview2trysuspendcompletedhandler.md

File metadata and controls

44 lines (30 loc) · 1.48 KB
description title author ms.author ms.date ms.topic keywords
The caller implements this interface to receive the TrySuspend result.
WebView2 Win32 C++ ICoreWebView2TrySuspendCompletedHandler
MSEdgeTeam
msedgedevrel
07/26/2021
reference
IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, ICoreWebView2TrySuspendCompletedHandler

interface ICoreWebView2TrySuspendCompletedHandler

[!INCLUDE deprecation-note]

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.