CoreWebView2NavigationCompletedEventArgs Class
Event args for the CoreWebView2.NavigationCompleted event.
Summary
Members | Description |
---|---|
IsSuccess | true when the navigation is successful; false for a navigation that ended up in an error page (failures due to no network, DNS lookup failure, HTTP server responds with 4xx). |
NavigationId | Gets the ID of the navigation. |
WebErrorStatus | Gets the error code if the navigation failed. |
Properties
IsSuccess
readonly bool IsSuccess
true
when the navigation is successful; false
for a navigation that ended up in an error page (failures due to no network, DNS lookup failure, HTTP server responds with 4xx).
This may also be false
for additional scenarios such as window.stop()
run on navigated page.
NavigationId
readonly uint64_t NavigationId
Gets the ID of the navigation.
WebErrorStatus
readonly CoreWebView2WebErrorStatus WebErrorStatus
Gets the error code if the navigation failed.