共用方式為


WebViewControlProcess.ProcessExited 事件

定義

終止此進程時引發。

// 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) 

事件類型

備註

此程式內任何對 Windows.Web.UI.Interop.WebViewControl 物件的呼叫都會造成例外狀況。

適用於