ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.Windows.Core
JScriptEngine Class
JScriptEngine Constructor
JScriptEngine(ISyncInvoker) Constructor
JScriptEngine(String, ISyncInvoker) Constructor
JScriptEngine(WindowsScriptEngineFlags, ISyncInvoker) Constructor
JScriptEngine(String, WindowsScriptEngineFlags, ISyncInvoker) Constructor
JScriptEngine(String, String, String, WindowsScriptEngineFlags, ISyncInvoker) Constructor

# JScriptEngine(String, ISyncInvoker) Constructor

Initializes a new JScript engine instance with the specified name.
Namespace: Microsoft.ClearScript.Windows.Core
Assembly: ClearScript.Windows.Core (in ClearScript.Windows.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public JScriptEngine(
    	string name,
    	ISyncInvoker syncInvoker
    )

    Public Sub New (
    	name As String,
    	syncInvoker As ISyncInvoker
    )

    public:
    JScriptEngine(
    	String^ name,
    	ISyncInvoker^ syncInvoker
    )

    new :
            name : string *
            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.
syncInvoker ISyncInvoker
  An object that enforces thread affinity for the instance.

See Also

#### Reference

JScriptEngine Class
JScriptEngine Overload
Microsoft.ClearScript.Windows.Core Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft