Table of Contents

Class CoreWebView2ScriptException

Namespace
Microsoft.Web.WebView2.Core
Assembly
Microsoft.Web.WebView2.Core.dll

This interface represents a JavaScript exception.

public class CoreWebView2ScriptException
Inheritance
CoreWebView2ScriptException
Inherited Members

Properties

ColumnNumber

The column number of the source where the exception occurred. Note that this position starts at 0.

public uint ColumnNumber { get; }

Property Value

uint

LineNumber

The line number of the source where the exception occurred. Note that this position starts at 0.

public uint LineNumber { get; }

Property Value

uint

Message

The Message is the exception's message and potentially stack.

public string Message { get; }

Property Value

string

Name

The Name is the exception's class name.

public string Name { get; }

Property Value

string

ToJson

This will return all details of the exception as a JSON string.

public string ToJson { get; }

Property Value

string