Click or drag to resize

V8ScriptEngine Constructor (V8RuntimeConstraints, V8ScriptEngineFlags)

Initializes a new V8 script engine instance with the specified resource constraints and options.

Namespace:  Microsoft.ClearScript.V8
Assembly:  ClearScript.V8 (in ClearScript.V8.dll) Version: 7.2.3
Syntax
public V8ScriptEngine(
	V8RuntimeConstraints constraints,
	V8ScriptEngineFlags flags
)

Parameters

constraints
Type: Microsoft.ClearScript.V8V8RuntimeConstraints
Resource constraints for the V8 runtime (see remarks).
flags
Type: Microsoft.ClearScript.V8V8ScriptEngineFlags
A value that selects options for the operation.
Remarks
A separate V8 runtime is created for the new script engine instance.
See Also