V8ScriptEngine Constructor (V8ScriptEngineFlags, Int32) |
Initializes a new V8 script engine instance with the specified options and debug port.
Namespace:
Microsoft.ClearScript.V8
Assembly:
ClearScript.V8 (in ClearScript.V8.dll) Version: 7.3.1
Syntaxpublic V8ScriptEngine(
V8ScriptEngineFlags flags,
int debugPort
)
Public Sub New (
flags As V8ScriptEngineFlags,
debugPort As Integer
)
public:
V8ScriptEngine(
V8ScriptEngineFlags flags,
int debugPort
)
new :
flags : V8ScriptEngineFlags *
debugPort : int -> V8ScriptEngine
Parameters
- flags
- Type: Microsoft.ClearScript.V8V8ScriptEngineFlags
A value that selects options for the operation. - debugPort
- Type: SystemInt32
A TCP port on which to listen for a debugger connection.
Remarks
A separate V8 runtime is created for the new script engine instance.
See Also