Help Center

CWebView2.RemoveProcessFailedmethod

Remove an event handler previously added with AddProcessFailed.

WebViewmethoddocumented

Syntax

FUNCTION RemoveProcessFailed (BYVAL token AS EventRegistrationToken) AS HRESULT
FUNCTION RemoveProcessFailed (BYVAL token AS EventRegistrationToken) AS HRESULT
Also documented as AddProcessFailed — one description covers them all.

Parameters

NameDescription
eventHandlerPointer to an ICoreWebView2ProcessFailedEventHandler.
tokenToken that uniquely identifies the subscription.

Description

Adds/removes an event handler for the ProcessFailed event.

Reference

  • Defined in AfxNova/CWebView2.inc:1394
  • Documented in WebView/CWebWiew2 Class.md
  • Topic: CWebView2 Class