JScriptEngine(String, WindowsScriptEngineFlags, ISyncInvoker) Constructor |
Initializes a new JScript engine instance with the specified name, options, and
synchronous invoker.
Namespace: Microsoft.ClearScript.Windows.CoreAssembly: ClearScript.Windows.Core (in ClearScript.Windows.Core.dll) Version: 7.4.5
Syntax public 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 String
- 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 WindowsScriptEngineFlags
- A value that selects options for the operation.
- syncInvoker ISyncInvoker
- An object that enforces thread affinity for the instance.
See Also