Share via


WebViewControlProcess.ProcessExited Event

Definition

Fires when this process is terminated.

// Register
event_token ProcessExited(TypedEventHandler<WebViewControlProcess, IInspectable const&> const& handler) const;

// Revoke with event_token
void ProcessExited(event_token const* cookie) const;

// Revoke with event_revoker
WebViewControlProcess::ProcessExited_revoker ProcessExited(auto_revoke_t, TypedEventHandler<WebViewControlProcess, IInspectable const&> const& handler) const;
public event TypedEventHandler<WebViewControlProcess,object> ProcessExited;
function onProcessExited(eventArgs) { /* Your code */ }
webViewControlProcess.addEventListener("processexited", onProcessExited);
webViewControlProcess.removeEventListener("processexited", onProcessExited);
- or -
webViewControlProcess.onprocessexited = onProcessExited;
Public Custom Event ProcessExited As TypedEventHandler(Of WebViewControlProcess, Object) 

Event Type

Remarks

Any calls to Windows.Web.UI.Interop.WebViewControl objects within this process will cause an exception.

Applies to