Language

CoreWebView2ExecuteScriptResult.Exception Property

Definition

Gets the unhandled exception thrown by script execution when Succeeded is false.

public Microsoft.Web.WebView2.Core.CoreWebView2ScriptException Exception { get; }
member this.Exception : Microsoft.Web.WebView2.Core.CoreWebView2ScriptException
Public ReadOnly Property Exception As CoreWebView2ScriptException

Property Value

Remarks

If Succeeded is true, accessing this property throws an invalid argument exception.

Applies to