Click or drag to resize

WindowsScriptEngine Constructor

Initializes a new Windows Script engine instance with the specified list of supported file name extensions and synchronous invoker.

Namespace: Microsoft.ClearScript.Windows.Core
Assembly: ClearScript.Windows.Core (in ClearScript.Windows.Core.dll) Version: 7.4.5
Syntax
protected WindowsScriptEngine(
	string progID,
	string name,
	string fileNameExtensions,
	WindowsScriptEngineFlags flags,
	ISyncInvoker syncInvoker
)

Parameters

progID  String
The programmatic identifier (ProgID) of the Windows Script engine class.
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.
fileNameExtensions  String
A semicolon-delimited list of supported file name extensions.
flags  WindowsScriptEngineFlags
A value that selects options for the operation.
syncInvoker  ISyncInvoker
An object that enforces thread affinity for the instance.
Remarks
The progID argument can be a class identifier (CLSID) in standard GUID format with braces (e.g., "{F414C260-6AC0-11CF-B6D1-00AA00BBBB58}").
See Also