This documentation is archived and is not being maintained.

VsaEngine Class

Note: This API is now obsolete.

Implements IVsaEngine interface.

Namespace:  Microsoft.JScript.Vsa
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.

  NameDescription
Public propertyAppDomainGets or sets the application domain. (Inherited from BaseVsaEngine.)
Public propertyApplicationBaseGets or sets the application base. (Inherited from BaseVsaEngine.)
Public propertyAssemblyGets a reference to the running assembly generated by Run method. (Inherited from BaseVsaEngine.)
Public propertyEvidenceProvides evidence for the purpose of validating the current object's identity. (Inherited from BaseVsaEngine.)
Public propertyGenerateDebugInfoSets or gets a Boolean value that signifies whether the script engine produces debug information when the Compile method is called. (Inherited from BaseVsaEngine.)
Public propertyIsCompiledGets or sets a value that indicates whether the source is compiled. (Inherited from BaseVsaEngine.)
Public propertyIsDirtyGets or sets a value that indicates whether the current in-memory representation of the item differs from the persisted representation. (Inherited from BaseVsaEngine.)
Public propertyIsRunningGets a Boolean value that reports whether the engine is currently in run mode. (Inherited from BaseVsaEngine.)
Public propertyItemsGets the collection of IJSVsaItem objects, which represent all items added to the engine. (Inherited from BaseVsaEngine.)
Public propertyLanguageGets the name of the programming language supported by the engine. (Inherited from BaseVsaEngine.)
Public propertyLCIDGets or sets the geographical locale and language in which to report exception messages. (Inherited from BaseVsaEngine.)
Public propertyLenientGlobalObjectInfrastructure.
Public propertyNameSets or gets the display name of the engine. (Inherited from BaseVsaEngine.)
Public propertyRootMonikerSets or gets a script engine's root moniker. (Inherited from BaseVsaEngine.)
Public propertyRootNamespaceSets or gets the root namespace used by the engine. (Inherited from BaseVsaEngine.)
Public propertySiteSets or gets the host-implemented IJSVsaSite object that is used by the engine to communicate with the host. (Inherited from BaseVsaEngine.)
Public propertyVersionGets the current version of the language compiler supported by the engine, in the form Major.Minor.Revision.Build. (Inherited from BaseVsaEngine.)
Top

  NameDescription
Public methodCloneInfrastructure.
Public methodCloseCloses the engine. (Inherited from BaseVsaEngine.)
Public methodCompileCauses the engine to compile the existing source state. (Inherited from BaseVsaEngine.)
Public methodCompileEmptyInfrastructure.
Public methodConnectEventsInfrastructure.
Public methodStatic memberCreateEngineInfrastructure.
Public methodStatic memberCreateEngineAndGetGlobalScopeInfrastructure.
Public methodStatic memberCreateEngineAndGetGlobalScopeWithTypeInfrastructure.
Public methodStatic memberCreateEngineAndGetGlobalScopeWithTypeAndRootNamespace
Public methodStatic memberCreateEngineWithTypeInfrastructure.
Public methodDisconnectEventsInfrastructure.
Protected methodDoCloseCloses the engine. (Inherited from BaseVsaEngine.)
Protected methodDoCompileCauses the script engine to compile the existing source state. (Inherited from BaseVsaEngine.)
Protected methodDoLoadSourceStateDirects the engine to load source items. (Inherited from BaseVsaEngine.)
Protected methodDoSaveCompiledStateSaves the compiled state of the script engine; optionally, it also saves debugging information. (Inherited from BaseVsaEngine.)
Protected methodDoSaveSourceStateDirects the script engine to persist its source state to the specified object. (Inherited from BaseVsaEngine.)
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodErrorReturns an error. (Inherited from BaseVsaEngine.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetAssemblyInfrastructure.
Protected methodGetCustomOptionGets implementation-specific options for the engine. (Inherited from BaseVsaEngine.)
Public methodGetGlobalScopeInfrastructure.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetItemInfrastructure.
Public methodGetItemAtIndexInfrastructure.
Public methodGetItemCountInfrastructure.
Public methodGetMainScopeInfrastructure.
Public methodGetModuleInfrastructure.
Public methodGetOptionGets implementation-specific options for the engine. (Inherited from BaseVsaEngine.)
Public methodGetOriginalArrayConstructorInfrastructure.
Public methodGetOriginalObjectConstructorInfrastructure.
Public methodGetOriginalRegExpConstructorInfrastructure.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitNewProvides a notification that the initialization phase is complete. (Inherited from BaseVsaEngine.)
Public methodInitVsaEngine
Public methodInterruptInfrastructure.
Public methodIsValidIdentifierInfrastructure. (Overrides BaseVsaEngine::IsValidIdentifier(String).)
Protected methodIsValidNamespaceNameChecks whether the supplied namespace is valid for the engine. (Inherited from BaseVsaEngine.)
Protected methodLoadCompiledStateLoads the compiled state. (Inherited from BaseVsaEngine.)
Public methodLoadSourceStateDirects the engine to load source items from their point of persistence, as specified by the host-provided object. (Inherited from BaseVsaEngine.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodPopScriptObjectInfrastructure.
Protected methodPreconditionsSets the precondition flags. (Inherited from BaseVsaEngine.)
Public methodPushScriptObjectInfrastructure.
Public methodRegisterEventSourceInfrastructure.
Public methodResetInfrastructure. (Overrides BaseVsaEngine::Reset().)
Protected methodResetCompiledStateResets the compiled state. (Inherited from BaseVsaEngine.)
Public methodRestartInfrastructure.
Public methodRevokeCacheInvalidates the cached assembly for the engine, as specified by its root moniker. (Inherited from BaseVsaEngine.)
Public methodRun()Initiates execution of compiled code in the engine and binds all event handlers (Inherited from BaseVsaEngine.)
Public methodRun(AppDomain)
Public methodRunEmptyInfrastructure.
Public methodSaveCompiledStateSaves the compiled state of the engine; optionally, it also saves debugging information. (Inherited from BaseVsaEngine.)
Public methodSaveSourceStateDirects the engine to persist its source state. (Inherited from BaseVsaEngine.)
Public methodScriptObjectStackTopInfrastructure.
Protected methodSetCustomOptionSets implementation-specific options for the engine. (Inherited from BaseVsaEngine.)
Public methodSetOptionSets implementation-specific options for the engine. (Inherited from BaseVsaEngine.)
Public methodSetOutputStreamInfrastructure.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Protected methodValidateRootMonikerValidates the root moniker. (Inherited from BaseVsaEngine.)
Top

  NameDescription
Protected fieldapplicationPathGets or sets the application path. (Inherited from BaseVsaEngine.)
Protected fieldassemblyVersionGets or sets the assembly version. (Inherited from BaseVsaEngine.)
Protected fieldcompiledRootNamespaceGets or sets the compiled root namespace. (Inherited from BaseVsaEngine.)
Protected fieldengineMonikerGets or sets the engine moniker. (Inherited from BaseVsaEngine.)
Protected fieldengineNameGets or sets the engine name. (Inherited from BaseVsaEngine.)
Protected fieldengineSiteGets or sets the engine site (Inherited from BaseVsaEngine.)
Protected fielderrorLocaleGets or sets the error locale. (Inherited from BaseVsaEngine.)
Protected fieldexecutionEvidenceGets or sets the execution evidence. (Inherited from BaseVsaEngine.)
Protected fieldfailedCompilationGets or sets a value that indicates whether the compilation failed. (Inherited from BaseVsaEngine.)
Protected fieldgenDebugInfoGets or sets a value that indicates whether debug information is generated. (Inherited from BaseVsaEngine.)
Protected fieldhaveCompiledStateGets or sets a value that indicates whether there is a compiled state. (Inherited from BaseVsaEngine.)
Protected fieldisClosedGets or sets a value that indicates whether the engine is closed. (Inherited from BaseVsaEngine.)
Protected fieldisDebugInfoSupportedGets or sets a value that indicates whether debug information is supported. (Inherited from BaseVsaEngine.)
Protected fieldisEngineCompiledGets or sets a value that indicates whether the engine is compiled. (Inherited from BaseVsaEngine.)
Protected fieldisEngineDirtyGets or sets a value that indicates whether the current in-memory representation of the item differs from the persisted representation. (Inherited from BaseVsaEngine.)
Protected fieldisEngineInitializedGets or sets a value that indicates whether the engine is initialized. (Inherited from BaseVsaEngine.)
Protected fieldisEngineRunningGets or sets a value that indicates whether the engine is running. (Inherited from BaseVsaEngine.)
Protected fieldloadedAssemblyGets or sets the loaded assembly. (Inherited from BaseVsaEngine.)
Protected fieldrootNamespaceGets or sets the root namespace. (Inherited from BaseVsaEngine.)
Protected fieldscriptLanguageGets or sets the script language. (Inherited from BaseVsaEngine.)
Protected fieldstartupClassGets or sets the startup class. (Inherited from BaseVsaEngine.)
Protected fieldstartupInstanceGets or sets the startup instance. (Inherited from BaseVsaEngine.)
Protected fieldvsaItemsGets 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.
Show: