JScriptEngine Constructor (String, WindowsScriptEngineFlags, ISyncInvoker) |
Initializes a new JScript engine instance with the specified name, options, and
synchronous invoker.
Namespace:
Microsoft.ClearScript.Windows.Core
Assembly:
ClearScript.Windows.Core (in ClearScript.Windows.Core.dll) Version: 7.2.4
Syntaxpublic JScriptEngine(
string name,
WindowsScriptEngineFlags flags,
ISyncInvoker syncInvoker
)
Public Sub New (
name As String,
flags As WindowsScriptEngineFlags,
syncInvoker As ISyncInvoker
)
public:
JScriptEngine(
String^ name,
WindowsScriptEngineFlags flags,
ISyncInvoker^ syncInvoker
)
new :
name : string *
flags : WindowsScriptEngineFlags *
syncInvoker : ISyncInvoker -> JScriptEngine
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.WindowsWindowsScriptEngineFlags
A value that selects options for the operation. - syncInvoker
- Type: Microsoft.ClearScript.Windows.CoreISyncInvoker
An object that enforces thread affinity for the instance.
See Also