WebViewControlProcess.ProcessExited Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
TypedEventHandler<WebViewControlProcess,IInspectable>
Remarks
Any calls to Windows.Web.UI.Interop.WebViewControl objects within this process will cause an exception.