CoreWebView2ExecuteScriptResult Class
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.
The result for ExecuteScriptWithResultAsync(String).
public class CoreWebView2ExecuteScriptResult
type CoreWebView2ExecuteScriptResult = class
Public Class CoreWebView2ExecuteScriptResult
- Inheritance
-
CoreWebView2ExecuteScriptResult
Properties
| Name | Description |
|---|---|
| Exception |
Gets the unhandled exception thrown by script execution when Succeeded is |
| ResultAsJson |
Gets the JSON encoded string that represents the result of running the provided JavaScript. |
| Succeeded |
This property is true if ExecuteScriptWithResultAsync(String) successfully executed script with no unhandled exceptions and the result is available in the ResultAsJson property. |
Methods
| Name | Description |
|---|---|
| TryGetResultAsString(String, Int32) |
If Succeeded is |