V8ScriptEngine Constructor (String, V8ScriptEngineFlags) |
Initializes a new V8 script engine instance with the specified name and options.
Namespace:
Microsoft.ClearScript.V8
Assembly:
ClearScript.V8 (in ClearScript.V8.dll) Version: 7.2.3
Syntaxpublic V8ScriptEngine(
string name,
V8ScriptEngineFlags flags
)
Public Sub New (
name As String,
flags As V8ScriptEngineFlags
)
public:
V8ScriptEngine(
String^ name,
V8ScriptEngineFlags flags
)
new :
name : string *
flags : V8ScriptEngineFlags -> V8ScriptEngine
Parameters
- name
- Type: SystemString
A name to associate with the instance. Currently this name is used only as a label in presentation contexts such as debugger user interfaces. - 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