interface IWebView2NavigationCompletedEventArgs
Note
This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.
interface IWebView2NavigationCompletedEventArgs
: public IUnknown
Event args for the NavigationCompleted event.
Summary
Members | Descriptions |
---|---|
get_IsSuccess | True when the navigation is successful. |
get_WebErrorStatus | The error code if the navigation failed. |
Members
get_IsSuccess
True when the navigation is successful.
public HRESULT get_IsSuccess(BOOL * isSuccess)
This is false for a navigation that ended up in an error page (failures due to no network, DNS lookup failure, HTTP server responds with 4xx), but could also be false for additional things such as window.stop() called on navigated page.
get_WebErrorStatus
The error code if the navigation failed.
public HRESULT get_WebErrorStatus(WEBVIEW2_WEB_ERROR_STATUS * WEBVIEW2_WEB_ERROR_STATUS)
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по