Click or drag to resize

V8ScriptEngine(String, V8RuntimeConstraints, V8ScriptEngineFlags, Int32) Constructor

Initializes a new V8 script engine instance with the specified name, resource constraints, options, and debug port.

Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.4.5
Syntax
public V8ScriptEngine(
	string name,
	V8RuntimeConstraints constraints,
	V8ScriptEngineFlags flags,
	int debugPort
)

Parameters

name  String
A name to associate with the instance. Currently, this name is used only as a label in presentation contexts such as debugger user interfaces.
constraints  V8RuntimeConstraints
Resource constraints for the V8 runtime (see remarks).
flags  V8ScriptEngineFlags
A value that selects options for the operation.
debugPort  Int32
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