CWebView2.AddProcessFailedmethod
Add an event handler for the ProcessFailed event.
Syntax
FUNCTION AddProcessFailed ( BYVAL eventHandler AS Afx_ICoreWebView2ProcessFailedEventHandler PTR, BYVAL token AS EventRegistrationToken PTR) AS HRESULT
Also documented as
RemoveProcessFailed — one description covers them all.Parameters
| Name | Description | |
|---|---|---|
eventHandler | Pointer to an ICoreWebView2ProcessFailedEventHandler. | |
token | Token that uniquely identifies the subscription. |
Description
Adds/removes an event handler for the ProcessFailed event.
Reference
- Defined in AfxNova/CWebView2.inc:1385
- Documented in WebView/CWebWiew2 Class.md
- Topic: CWebView2 Class