V8ScriptEngine(V8RuntimeConstraints, V8ScriptEngineFlags) Constructor |
Initializes a new V8 script engine instance with the specified resource constraints and options.
Namespace: Microsoft.ClearScript.V8Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.4.5
Syntax public V8ScriptEngine(
V8RuntimeConstraints constraints,
V8ScriptEngineFlags flags
)
Public Sub New (
constraints As V8RuntimeConstraints,
flags As V8ScriptEngineFlags
)
public:
V8ScriptEngine(
V8RuntimeConstraints^ constraints,
V8ScriptEngineFlags flags
)
new :
constraints : V8RuntimeConstraints *
flags : V8ScriptEngineFlags -> V8ScriptEngine
Parameters
- constraints V8RuntimeConstraints
- Resource constraints for the V8 runtime (see remarks).
- flags V8ScriptEngineFlags
- A value that selects options for the operation.
Remarks
A separate V8 runtime is created for the new script engine instance.
See Also