This documentation is archived and is not being maintained.
VsaEngine Class
Visual Studio 2010
Note: This API is now obsolete.
Implements IVsaEngine interface.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
[GuidAttribute(L"B71E484D-93ED-4b56-BFB9-CEED5134822B")] [ComVisibleAttribute(true)] [ObsoleteAttribute(L"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 : public BaseVsaEngine, IEngine2, IRedirectOutput
The VsaEngine type exposes the following members.
| 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 | Infrastructure. |
![]() | 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 | Infrastructure. |
![]() | Close | Closes the engine. (Inherited from BaseVsaEngine.) |
![]() | Compile | Causes the engine to compile the existing source state. (Inherited from BaseVsaEngine.) |
![]() | CompileEmpty | Infrastructure. |
![]() | ConnectEvents | Infrastructure. |
![]() ![]() | CreateEngine | Infrastructure. |
![]() ![]() | CreateEngineAndGetGlobalScope | Infrastructure. |
![]() ![]() | CreateEngineAndGetGlobalScopeWithType | Infrastructure. |
![]() ![]() | CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace | |
![]() ![]() | CreateEngineWithType | Infrastructure. |
![]() | DisconnectEvents | Infrastructure. |
![]() | DoClose | Closes the engine. (Inherited from BaseVsaEngine.) |
![]() | DoCompile | Causes the script engine to compile the existing source state. (Inherited from BaseVsaEngine.) |
![]() | DoLoadSourceState | Directs the engine to load source items. (Inherited from BaseVsaEngine.) |
![]() | DoSaveCompiledState | Saves the compiled state of the script engine; optionally, it also saves debugging information. (Inherited from BaseVsaEngine.) |
![]() | DoSaveSourceState | Directs the script engine to persist its source state to the specified object. (Inherited from BaseVsaEngine.) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Error | Returns an error. (Inherited from BaseVsaEngine.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetAssembly | Infrastructure. |
![]() | GetCustomOption | Gets implementation-specific options for the engine. (Inherited from BaseVsaEngine.) |
![]() | GetGlobalScope | Infrastructure. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetItem | Infrastructure. |
![]() | GetItemAtIndex | Infrastructure. |
![]() | GetItemCount | Infrastructure. |
![]() | GetMainScope | Infrastructure. |
![]() | GetModule | Infrastructure. |
![]() | GetOption | Gets implementation-specific options for the engine. (Inherited from BaseVsaEngine.) |
![]() | GetOriginalArrayConstructor | Infrastructure. |
![]() | GetOriginalObjectConstructor | Infrastructure. |
![]() | GetOriginalRegExpConstructor | Infrastructure. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InitNew | Provides a notification that the initialization phase is complete. (Inherited from BaseVsaEngine.) |
![]() | InitVsaEngine | |
![]() | Interrupt | Infrastructure. |
![]() | IsValidIdentifier | Infrastructure. (Overrides BaseVsaEngine::IsValidIdentifier(String).) |
![]() | IsValidNamespaceName | Checks whether the supplied namespace is valid for the engine. (Inherited from BaseVsaEngine.) |
![]() | LoadCompiledState | Loads the compiled state. (Inherited from BaseVsaEngine.) |
![]() | LoadSourceState | Directs the engine to load source items from their point of persistence, as specified by the host-provided object. (Inherited from BaseVsaEngine.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | PopScriptObject | Infrastructure. |
![]() | Preconditions | Sets the precondition flags. (Inherited from BaseVsaEngine.) |
![]() | PushScriptObject | Infrastructure. |
![]() | RegisterEventSource | Infrastructure. |
![]() | Reset | Infrastructure. (Overrides BaseVsaEngine::Reset().) |
![]() | ResetCompiledState | Resets the compiled state. (Inherited from BaseVsaEngine.) |
![]() | Restart | Infrastructure. |
![]() | 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) | |
![]() | RunEmpty | Infrastructure. |
![]() | SaveCompiledState | Saves the compiled state of the engine; optionally, it also saves debugging information. (Inherited from BaseVsaEngine.) |
![]() | SaveSourceState | Directs the engine to persist its source state. (Inherited from BaseVsaEngine.) |
![]() | ScriptObjectStackTop | Infrastructure. |
![]() | SetCustomOption | Sets implementation-specific options for the engine. (Inherited from BaseVsaEngine.) |
![]() | SetOption | Sets implementation-specific options for the engine. (Inherited from BaseVsaEngine.) |
![]() | SetOutputStream | Infrastructure. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | ValidateRootMoniker | Validates the root moniker. (Inherited from BaseVsaEngine.) |
| Name | Description | |
|---|---|---|
![]() | applicationPath | Gets or sets the application path. (Inherited from BaseVsaEngine.) |
![]() | assemblyVersion | Gets or sets the assembly version. (Inherited from BaseVsaEngine.) |
![]() | compiledRootNamespace | Gets or sets the compiled root namespace. (Inherited from BaseVsaEngine.) |
![]() | engineMoniker | Gets or sets the engine moniker. (Inherited from BaseVsaEngine.) |
![]() | engineName | Gets or sets the engine name. (Inherited from BaseVsaEngine.) |
![]() | engineSite | Gets or sets the engine site (Inherited from BaseVsaEngine.) |
![]() | errorLocale | Gets or sets the error locale. (Inherited from BaseVsaEngine.) |
![]() | executionEvidence | Gets or sets the execution evidence. (Inherited from BaseVsaEngine.) |
![]() | failedCompilation | Gets or sets a value that indicates whether the compilation failed. (Inherited from BaseVsaEngine.) |
![]() | genDebugInfo | Gets or sets a value that indicates whether debug information is generated. (Inherited from BaseVsaEngine.) |
![]() | haveCompiledState | Gets or sets a value that indicates whether there is a compiled state. (Inherited from BaseVsaEngine.) |
![]() | isClosed | Gets or sets a value that indicates whether the engine is closed. (Inherited from BaseVsaEngine.) |
![]() | isDebugInfoSupported | Gets or sets a value that indicates whether debug information is supported. (Inherited from BaseVsaEngine.) |
![]() | isEngineCompiled | Gets or sets a value that indicates whether the engine is compiled. (Inherited from BaseVsaEngine.) |
![]() | isEngineDirty | Gets or sets a value that indicates whether the current in-memory representation of the item differs from the persisted representation. (Inherited from BaseVsaEngine.) |
![]() | isEngineInitialized | Gets or sets a value that indicates whether the engine is initialized. (Inherited from BaseVsaEngine.) |
![]() | isEngineRunning | Gets or sets a value that indicates whether the engine is running. (Inherited from BaseVsaEngine.) |
![]() | loadedAssembly | Gets or sets the loaded assembly. (Inherited from BaseVsaEngine.) |
![]() | rootNamespace | Gets or sets the root namespace. (Inherited from BaseVsaEngine.) |
![]() | scriptLanguage | Gets or sets the script language. (Inherited from BaseVsaEngine.) |
![]() | startupClass | Gets or sets the startup class. (Inherited from BaseVsaEngine.) |
![]() | startupInstance | Gets or sets the startup instance. (Inherited from BaseVsaEngine.) |
![]() | vsaItems | Gets or sets the collection of IVsaItem objects. (Inherited from BaseVsaEngine.) |
.NET Framework
Supported in: 1.1, 1.0Obsolete (compiler warning) in 4
Obsolete (compiler warning) in 3.5
Obsolete (compiler warning) in 3.5 SP1
Obsolete (compiler warning) in 3.0
Obsolete (compiler warning) in 3.0 SP1
Obsolete (compiler warning) in 3.0 SP2
Obsolete (compiler warning) in 2.0
Obsolete (compiler warning) in 2.0 SP1
Obsolete (compiler warning) in 2.0 SP2
.NET Framework Client Profile
Obsolete (compiler warning) in 4Obsolete (compiler warning) in 3.5 SP1
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
