BaseVsaEngine Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
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.
Implements IJSVsaEngine interface.
public ref class BaseVsaEngine abstract : Microsoft::JScript::Vsa::IJSVsaEngine
[System.Obsolete("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.")]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("F8932A50-9127-48B6-B115-2BFDC627CEE3")]
public abstract class BaseVsaEngine : Microsoft.JScript.Vsa.IJSVsaEngine
[<System.Obsolete("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.")>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("F8932A50-9127-48B6-B115-2BFDC627CEE3")>]
type BaseVsaEngine = class
interface IJSVsaEngine
Public MustInherit Class BaseVsaEngine
Implements IJSVsaEngine
- Inheritance
-
BaseVsaEngine
- Derived
- Attributes
- Implements
Fields
applicationPath |
Gets or sets the application path. |
assemblyVersion |
Gets or sets the assembly version. |
compiledRootNamespace |
Gets or sets the compiled root namespace. |
engineMoniker |
Gets or sets the engine moniker. |
engineName |
Gets or sets the engine name. |
engineSite |
Gets or sets the engine site. |
errorLocale |
Gets or sets the error locale. |
executionEvidence |
Gets or sets the execution evidence. |
failedCompilation |
Gets or sets a value that indicates whether the compilation failed. |
genDebugInfo |
Gets or sets a value that indicates whether debug information is generated. |
haveCompiledState |
Gets or sets a value that indicates whether there is a compiled state. |
isClosed |
Gets or sets a value that indicates whether the engine is closed. |
isDebugInfoSupported |
Gets or sets a value that indicates whether debug information is supported. |
isEngineCompiled |
Gets or sets a value that indicates whether the engine is compiled. |
isEngineDirty |
Gets or sets a value that indicates whether the current in-memory representation of the item differs from the persisted representation. |
isEngineInitialized |
Gets or sets a value that indicates whether the engine is initialized. |
isEngineRunning |
Gets or sets a value that indicates whether the engine is running. |
loadedAssembly |
Gets or sets the loaded assembly. |
nameTable |
Gets or sets the name table. |
rootNamespace |
Gets or sets the root namespace. |
scriptLanguage |
Gets or sets the script language. |
startupClass |
Gets or sets the startup class. |
startupInstance |
Gets or sets the startup instance. |
vsaItems |
Gets or sets the collection of IVsaItem objects. |
Properties
AppDomain |
Gets or sets the application domain. |
ApplicationBase |
Gets or sets the application base. |
Assembly |
Gets a reference to the running assembly generated by Run method. |
Evidence |
Provides evidence for the purpose of validating the current object's identity. |
GenerateDebugInfo |
Gets or sets a Boolean value that signifies whether the script engine produces debug information when the Compile method is called. |
IsCompiled |
Gets a value that indicates whether the source is compiled. |
IsDirty |
Gets or sets a value that indicates whether the current in-memory representation of the item differs from the persisted representation. |
IsRunning |
Gets a Boolean value that reports whether the engine is currently in run mode. |
Items |
Gets the collection of IJSVsaItem objects, which represent all items added to the engine. |
Language |
Gets the name of the programming language supported by the engine. |
LCID |
Gets or sets the geographical locale and language in which to report exception messages. |
Name |
Gets or sets the display name of the engine. |
RootMoniker |
Gets or sets a script engine's root moniker. |
RootNamespace |
Gets or sets the root namespace used by the engine. |
Site |
Gets or sets the host-implemented IJSVsaSite object that is used by the engine to communicate with the host. |
Version |
Gets the current version of the language compiler supported by the engine, in the form |
Methods
Close() |
Closes the engine. |
Compile() |
Causes the engine to compile the existing source state. |
DoClose() |
Closes the engine. |
DoCompile() |
Causes the script engine to compile the existing source state. |
DoLoadSourceState(IJSVsaPersistSite) |
Directs the engine to load source items. |
DoSaveCompiledState(Byte[], Byte[]) |
Saves the compiled state of the script engine; optionally, it also saves debugging information. |
DoSaveSourceState(IJSVsaPersistSite) |
Directs the script engine to persist its source state to the specified object. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Error(JSVsaError) |
Returns an error. |
GetCustomOption(String) |
Gets implementation-specific options for the engine. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetOption(String) |
Gets implementation-specific options for the engine. |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
InitNew() |
Provides a notification that the initialization phase is complete. |
IsValidIdentifier(String) |
Checks whether the supplied identifier is valid for the engine. |
IsValidNamespaceName(String) |
Checks whether the supplied namespace is valid for the engine. |
LoadCompiledState() |
Loads the compiled state. |
LoadSourceState(IJSVsaPersistSite) |
Directs the engine to load source items from their point of persistence, as specified by the host-provided object. |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
Preconditions(BaseVsaEngine+Pre) |
Sets the precondition flags. |
Reset() |
Removes the engine from the running state and disconnects automatically bound event handlers. |
ResetCompiledState() |
Resets the compiled state. |
RevokeCache() |
Invalidates the cached assembly for the engine, as specified by its root moniker. |
Run() |
Initiates execution of compiled code in the engine and binds all event handlers. |
SaveCompiledState(Byte[], Byte[]) |
Saves the compiled state of the engine; optionally, it also saves debugging information. |
SaveSourceState(IJSVsaPersistSite) |
Directs the engine to persist its source state. |
SetCustomOption(String, Object) |
Sets implementation-specific options for the engine. |
SetOption(String, Object) |
Sets implementation-specific options for the engine. |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
ValidateRootMoniker(String) |
Validates the root moniker. |