VsaEngine Class
Implements IVsaEngine interface.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
[GuidAttribute("B71E484D-93ED-4b56-BFB9-CEED5134822B")] [ComVisibleAttribute(true)] [ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")] public ref class VsaEngine sealed : BaseVsaEngine, IEngine2, IRedirectOutput
| Name | Description | |
|---|---|---|
![]() | VsaEngine() | This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | VsaEngine(Boolean) | This class, member, or property is internal to the script engine and should not be called from your code. |
| Name | Description | |
|---|---|---|
![]() | AppDomain | Gets or sets the application domain.(Inherited from BaseVsaEngine.) |
![]() | ApplicationBase | Gets or sets the application base.(Inherited from BaseVsaEngine.) |
![]() | Assembly | Gets a reference to the running assembly generated by Run method.(Inherited from BaseVsaEngine.) |
![]() | Evidence | Provides evidence for the purpose of validating the current object's identity.(Inherited from BaseVsaEngine.) |
![]() | GenerateDebugInfo | Sets or gets a Boolean value that signifies whether the script engine produces debug information when the Compile method is called.(Inherited from BaseVsaEngine.) |
![]() | IsCompiled | Gets or sets a value that indicates whether the source is compiled.(Inherited from BaseVsaEngine.) |
![]() | IsDirty | Gets or sets a value that indicates whether the current in-memory representation of the item differs from the persisted representation.(Inherited from BaseVsaEngine.) |
![]() | IsRunning | Gets a Boolean value that reports whether the engine is currently in run mode.(Inherited from BaseVsaEngine.) |
![]() | Items | Gets the collection of IJSVsaItem objects, which represent all items added to the engine.(Inherited from BaseVsaEngine.) |
![]() | Language | Gets the name of the programming language supported by the engine.(Inherited from BaseVsaEngine.) |
![]() | LCID | Gets or sets the geographical locale and language in which to report exception messages.(Inherited from BaseVsaEngine.) |
![]() | LenientGlobalObject | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | Name | Sets or gets the display name of the engine.(Inherited from BaseVsaEngine.) |
![]() | RootMoniker | Sets or gets a script engine's root moniker.(Inherited from BaseVsaEngine.) |
![]() | RootNamespace | Sets or gets the root namespace used by the engine.(Inherited from BaseVsaEngine.) |
![]() | Site | Sets or gets the host-implemented IJSVsaSite object that is used by the engine to communicate with the host.(Inherited from BaseVsaEngine.) |
![]() | Version | Gets the current version of the language compiler supported by the engine, in the form Major.Minor.Revision.Build.(Inherited from BaseVsaEngine.) |
| Name | Description | |
|---|---|---|
![]() | Clone(AppDomain^) | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | Close() | Closes the engine.(Inherited from BaseVsaEngine.) |
![]() | Compile() | Causes the engine to compile the existing source state.(Inherited from BaseVsaEngine.) |
![]() | CompileEmpty() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | ConnectEvents() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() ![]() | CreateEngine() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() ![]() | CreateEngineAndGetGlobalScope(Boolean, array<String^>^) | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() ![]() | CreateEngineAndGetGlobalScopeWithType(Boolean, array<String^>^, RuntimeTypeHandle) | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() ![]() | CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace(Boolean, array<String^>^, RuntimeTypeHandle, String^) | This class, member, or property is internal to the script engine and should not be called from your code. |
![]() ![]() | CreateEngineWithType(RuntimeTypeHandle) | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | DisconnectEvents() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetAssembly() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | GetGlobalScope() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetItem(String^) | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | GetItemAtIndex(Int32) | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | GetItemCount() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | GetMainScope() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | GetModule() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | GetOption(String^) | Gets implementation-specific options for the engine.(Inherited from BaseVsaEngine.) |
![]() | GetOriginalArrayConstructor() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | GetOriginalObjectConstructor() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | GetOriginalRegExpConstructor() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | GetType() | |
![]() | InitNew() | Provides a notification that the initialization phase is complete.(Inherited from BaseVsaEngine.) |
![]() | InitVsaEngine(String^, IJSVsaSite^) | This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | Interrupt() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | IsValidIdentifier(String^) | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code.(Overrides BaseVsaEngine::IsValidIdentifier(String^).) |
![]() | LoadSourceState(IJSVsaPersistSite^) | Directs the engine to load source items from their point of persistence, as specified by the host-provided object.(Inherited from BaseVsaEngine.) |
![]() | PopScriptObject() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | PushScriptObject(ScriptObject^) | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | RegisterEventSource(String^) | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | Reset() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code.(Overrides BaseVsaEngine::Reset().) |
![]() | Restart() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | RevokeCache() | Invalidates the cached assembly for the engine, as specified by its root moniker.(Inherited from BaseVsaEngine.) |
![]() | Run() | Initiates execution of compiled code in the engine and binds all event handlers(Inherited from BaseVsaEngine.) |
![]() | Run(AppDomain^) | This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | RunEmpty() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | SaveCompiledState(array<Byte>^%, array<Byte>^%) | Saves the compiled state of the engine; optionally, it also saves debugging information.(Inherited from BaseVsaEngine.) |
![]() | SaveSourceState(IJSVsaPersistSite^) | Directs the engine to persist its source state.(Inherited from BaseVsaEngine.) |
![]() | ScriptObjectStackTop() | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | SetOption(String^, Object^) | Sets implementation-specific options for the engine.(Inherited from BaseVsaEngine.) |
![]() | SetOutputStream(IMessageReceiver^) | This API supports the product infrastructure and is not intended to be used directly from your code. This class, member, or property is internal to the script engine and should not be called from your code. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


