V8RuntimeCreateScriptEngine(V8ScriptEngineFlags) Method |
Creates a new V8 script engine instance with the specified options.
Namespace: Microsoft.ClearScript.V8Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.4.5
Syntax public V8ScriptEngine CreateScriptEngine(
V8ScriptEngineFlags flags
)
Public Function CreateScriptEngine (
flags As V8ScriptEngineFlags
) As V8ScriptEngine
public:
V8ScriptEngine^ CreateScriptEngine(
V8ScriptEngineFlags flags
)
member CreateScriptEngine :
flags : V8ScriptEngineFlags -> V8ScriptEngine
Parameters
- flags V8ScriptEngineFlags
- A value that selects options for the operation.
Return Value
V8ScriptEngineA new V8 script engine instance.
Remarks
The new script engine instance shares the V8 runtime with other instances created by
this method and any of its overloads.
V8 supports one script debugger per runtime. If script debugging has been enabled in
the current runtime, additional script engine instances cannot disable it or change its
TCP port, nor can they enable script debugging on a different port.
See Also