Click or drag to resize

VBScriptEngine Constructor (String, String, String, WindowsScriptEngineFlags, ISyncInvoker)

Initializes a new VBScript engine instance with the specified programmatic identifier, name, list of supported file name extensions, options, and synchronous invoker.

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

Parameters

progID
Type: SystemString
The programmatic identifier (ProgID) of the VBScript engine class.
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.
fileNameExtensions
Type: SystemString
A semicolon-delimited list of supported file name extensions.
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.
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