This topic has not yet been rated - Rate this topic

VsaEngine Class

Note: This API is now obsolete.

Implements IVsaEngine interface.

System.Object
  Microsoft.JScript.Vsa.BaseVsaEngine
    Microsoft.JScript.Vsa.VsaEngine

Namespace:  Microsoft.JScript.Vsa
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 sealed class VsaEngine : BaseVsaEngine, 
	IEngine2, IRedirectOutput

The VsaEngine type exposes the following members.

  Name Description
Public property AppDomain Gets or sets the application domain. (Inherited from BaseVsaEngine.)
Public property ApplicationBase Gets or sets the application base. (Inherited from BaseVsaEngine.)
Public property Assembly Gets a reference to the running assembly generated by Run method. (Inherited from BaseVsaEngine.)
Public property Evidence Provides evidence for the purpose of validating the current object's identity. (Inherited from BaseVsaEngine.)
Public property 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.)
Public property IsCompiled Gets or sets a value that indicates whether the source is compiled. (Inherited from BaseVsaEngine.)
Public property 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.)
Public property IsRunning Gets a Boolean value that reports whether the engine is currently in run mode. (Inherited from BaseVsaEngine.)
Public property Items Gets the collection of IJSVsaItem objects, which represent all items added to the engine. (Inherited from BaseVsaEngine.)
Public property Language Gets the name of the programming language supported by the engine. (Inherited from BaseVsaEngine.)
Public property LCID Gets or sets the geographical locale and language in which to report exception messages. (Inherited from BaseVsaEngine.)
Public property LenientGlobalObject Infrastructure.
Public property Name Sets or gets the display name of the engine. (Inherited from BaseVsaEngine.)
Public property RootMoniker Sets or gets a script engine's root moniker. (Inherited from BaseVsaEngine.)
Public property RootNamespace Sets or gets the root namespace used by the engine. (Inherited from BaseVsaEngine.)
Public property Site Sets or gets the host-implemented IJSVsaSite object that is used by the engine to communicate with the host. (Inherited from BaseVsaEngine.)
Public property Version Gets the current version of the language compiler supported by the engine, in the form Major.Minor.Revision.Build. (Inherited from BaseVsaEngine.)
Top
  Name Description
Public method Clone Infrastructure.
Public method Close Closes the engine. (Inherited from BaseVsaEngine.)
Public method Compile Causes the engine to compile the existing source state. (Inherited from BaseVsaEngine.)
Public method CompileEmpty Infrastructure.
Public method ConnectEvents Infrastructure.
Public method Static member CreateEngine Infrastructure.
Public method Static member CreateEngineAndGetGlobalScope Infrastructure.
Public method Static member CreateEngineAndGetGlobalScopeWithType Infrastructure.
Public method Static member CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace
Public method Static member CreateEngineWithType Infrastructure.
Public method DisconnectEvents Infrastructure.
Protected method DoClose Closes the engine. (Inherited from BaseVsaEngine.)
Protected method DoCompile Causes the script engine to compile the existing source state. (Inherited from BaseVsaEngine.)
Protected method DoLoadSourceState Directs the engine to load source items. (Inherited from BaseVsaEngine.)
Protected method DoSaveCompiledState Saves the compiled state of the script engine; optionally, it also saves debugging information. (Inherited from BaseVsaEngine.)
Protected method DoSaveSourceState Directs the script engine to persist its source state to the specified object. (Inherited from BaseVsaEngine.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Error Returns an error. (Inherited from BaseVsaEngine.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAssembly Infrastructure.
Protected method GetCustomOption Gets implementation-specific options for the engine. (Inherited from BaseVsaEngine.)
Public method GetGlobalScope Infrastructure.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetItem Infrastructure.
Public method GetItemAtIndex Infrastructure.
Public method GetItemCount Infrastructure.
Public method GetMainScope Infrastructure.
Public method GetModule Infrastructure.
Public method GetOption Gets implementation-specific options for the engine. (Inherited from BaseVsaEngine.)
Public method GetOriginalArrayConstructor Infrastructure.
Public method GetOriginalObjectConstructor Infrastructure.
Public method GetOriginalRegExpConstructor Infrastructure.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitNew Provides a notification that the initialization phase is complete. (Inherited from BaseVsaEngine.)
Public method InitVsaEngine
Public method Interrupt Infrastructure.
Public method IsValidIdentifier Infrastructure. (Overrides BaseVsaEngine.IsValidIdentifier(String).)
Protected method IsValidNamespaceName Checks whether the supplied namespace is valid for the engine. (Inherited from BaseVsaEngine.)
Protected method LoadCompiledState Loads the compiled state. (Inherited from BaseVsaEngine.)
Public method LoadSourceState Directs the engine to load source items from their point of persistence, as specified by the host-provided object. (Inherited from BaseVsaEngine.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method PopScriptObject Infrastructure.
Protected method Preconditions Sets the precondition flags. (Inherited from BaseVsaEngine.)
Public method PushScriptObject Infrastructure.
Public method RegisterEventSource Infrastructure.
Public method Reset Infrastructure. (Overrides BaseVsaEngine.Reset().)
Protected method ResetCompiledState Resets the compiled state. (Inherited from BaseVsaEngine.)
Public method Restart Infrastructure.
Public method RevokeCache Invalidates the cached assembly for the engine, as specified by its root moniker. (Inherited from BaseVsaEngine.)
Public method Run() Initiates execution of compiled code in the engine and binds all event handlers (Inherited from BaseVsaEngine.)
Public method Run(AppDomain)
Public method RunEmpty Infrastructure.
Public method SaveCompiledState Saves the compiled state of the engine; optionally, it also saves debugging information. (Inherited from BaseVsaEngine.)
Public method SaveSourceState Directs the engine to persist its source state. (Inherited from BaseVsaEngine.)
Public method ScriptObjectStackTop Infrastructure.
Protected method SetCustomOption Sets implementation-specific options for the engine. (Inherited from BaseVsaEngine.)
Public method SetOption Sets implementation-specific options for the engine. (Inherited from BaseVsaEngine.)
Public method SetOutputStream Infrastructure.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method ValidateRootMoniker Validates the root moniker. (Inherited from BaseVsaEngine.)
Top
  Name Description
Protected field applicationPath Gets or sets the application path. (Inherited from BaseVsaEngine.)
Protected field assemblyVersion Gets or sets the assembly version. (Inherited from BaseVsaEngine.)
Protected field compiledRootNamespace Gets or sets the compiled root namespace. (Inherited from BaseVsaEngine.)
Protected field engineMoniker Gets or sets the engine moniker. (Inherited from BaseVsaEngine.)
Protected field engineName Gets or sets the engine name. (Inherited from BaseVsaEngine.)
Protected field engineSite Gets or sets the engine site (Inherited from BaseVsaEngine.)
Protected field errorLocale Gets or sets the error locale. (Inherited from BaseVsaEngine.)
Protected field executionEvidence Gets or sets the execution evidence. (Inherited from BaseVsaEngine.)
Protected field failedCompilation Gets or sets a value that indicates whether the compilation failed. (Inherited from BaseVsaEngine.)
Protected field genDebugInfo Gets or sets a value that indicates whether debug information is generated. (Inherited from BaseVsaEngine.)
Protected field haveCompiledState Gets or sets a value that indicates whether there is a compiled state. (Inherited from BaseVsaEngine.)
Protected field isClosed Gets or sets a value that indicates whether the engine is closed. (Inherited from BaseVsaEngine.)
Protected field isDebugInfoSupported Gets or sets a value that indicates whether debug information is supported. (Inherited from BaseVsaEngine.)
Protected field isEngineCompiled Gets or sets a value that indicates whether the engine is compiled. (Inherited from BaseVsaEngine.)
Protected field 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.)
Protected field isEngineInitialized Gets or sets a value that indicates whether the engine is initialized. (Inherited from BaseVsaEngine.)
Protected field isEngineRunning Gets or sets a value that indicates whether the engine is running. (Inherited from BaseVsaEngine.)
Protected field loadedAssembly Gets or sets the loaded assembly. (Inherited from BaseVsaEngine.)
Protected field rootNamespace Gets or sets the root namespace. (Inherited from BaseVsaEngine.)
Protected field scriptLanguage Gets or sets the script language. (Inherited from BaseVsaEngine.)
Protected field startupClass Gets or sets the startup class. (Inherited from BaseVsaEngine.)
Protected field startupInstance Gets or sets the startup instance. (Inherited from BaseVsaEngine.)
Protected field vsaItems Gets or sets the collection of IVsaItem objects. (Inherited from BaseVsaEngine.)
Top

.NET Framework

Supported in: 1.1, 1.0
Obsolete (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 4
Obsolete (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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ