WebView.SeparateProcessLost Ereignis

Definition

Tritt auf, wenn eine WebView mit einem ExecutionMode von SeparateProcess ausgeführt wird und der separate Prozess verloren geht.

// Register
event_token SeparateProcessLost(TypedEventHandler<WebView, WebViewSeparateProcessLostEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
WebView::SeparateProcessLost_revoker SeparateProcessLost(auto_revoke_t, TypedEventHandler<WebView, WebViewSeparateProcessLostEventArgs const&> const& handler) const;
public event TypedEventHandler<WebView,WebViewSeparateProcessLostEventArgs> SeparateProcessLost;
function onSeparateProcessLost(eventArgs) { /* Your code */ }
webView.addEventListener("separateprocesslost", onSeparateProcessLost);
webView.removeEventListener("separateprocesslost", onSeparateProcessLost);
- or -
webView.onseparateprocesslost = onSeparateProcessLost;
Public Custom Event SeparateProcessLost As TypedEventHandler(Of WebView, WebViewSeparateProcessLostEventArgs) 

Ereignistyp

Windows-Anforderungen

Gerätefamilie
Windows 10, version 1803 (eingeführt in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v6.0)

Hinweise

Weitere Informationen finden Sie im Abschnitt Ausführungsmodus der WebView-Klasse Hinweise.

Gilt für: