BaseVsaEngine BaseVsaEngine BaseVsaEngine BaseVsaEngine Class

Definition

Warning

This API is now obsolete.

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
type BaseVsaEngine = class
    interface IJSVsaEngine
Public MustInherit Class BaseVsaEngine
Implements IJSVsaEngine
Inheritance
BaseVsaEngineBaseVsaEngineBaseVsaEngineBaseVsaEngine
Attributes
Implements

Fields

applicationPath applicationPath applicationPath applicationPath

Gets or sets the application path.

assemblyVersion assemblyVersion assemblyVersion assemblyVersion

Gets or sets the assembly version.

compiledRootNamespace compiledRootNamespace compiledRootNamespace compiledRootNamespace

Gets or sets the compiled root namespace.

engineMoniker engineMoniker engineMoniker engineMoniker

Gets or sets the engine moniker.

engineName engineName engineName engineName

Gets or sets the engine name.

engineSite engineSite engineSite engineSite

Gets or sets the engine site

errorLocale errorLocale errorLocale errorLocale

Gets or sets the error locale.

executionEvidence executionEvidence executionEvidence executionEvidence

Gets or sets the execution evidence.

failedCompilation failedCompilation failedCompilation failedCompilation

Gets or sets a value that indicates whether the compilation failed.

genDebugInfo genDebugInfo genDebugInfo genDebugInfo

Gets or sets a value that indicates whether debug information is generated.

haveCompiledState haveCompiledState haveCompiledState haveCompiledState

Gets or sets a value that indicates whether there is a compiled state.

isClosed isClosed isClosed isClosed

Gets or sets a value that indicates whether the engine is closed.

isDebugInfoSupported isDebugInfoSupported isDebugInfoSupported isDebugInfoSupported

Gets or sets a value that indicates whether debug information is supported.

isEngineCompiled isEngineCompiled isEngineCompiled isEngineCompiled

Gets or sets a value that indicates whether the engine is compiled.

isEngineDirty isEngineDirty isEngineDirty isEngineDirty

Gets or sets a value that indicates whether the current in-memory representation of the item differs from the persisted representation.

isEngineInitialized isEngineInitialized isEngineInitialized isEngineInitialized

Gets or sets a value that indicates whether the engine is initialized.

isEngineRunning isEngineRunning isEngineRunning isEngineRunning

Gets or sets a value that indicates whether the engine is running.

loadedAssembly loadedAssembly loadedAssembly loadedAssembly

Gets or sets the loaded assembly.

nameTable nameTable nameTable nameTable

Gets or sets the name table.

rootNamespace rootNamespace rootNamespace rootNamespace

Gets or sets the root namespace.

scriptLanguage scriptLanguage scriptLanguage scriptLanguage

Gets or sets the script language.

startupClass startupClass startupClass startupClass

Gets or sets the startup class.

startupInstance startupInstance startupInstance startupInstance

Gets or sets the startup instance.

vsaItems vsaItems vsaItems vsaItems

Gets or sets the collection of IVsaItem objects.

Properties

AppDomain AppDomain AppDomain AppDomain

Gets or sets the application domain.

ApplicationBase ApplicationBase ApplicationBase ApplicationBase

Gets or sets the application base.

Assembly Assembly Assembly Assembly

Gets a reference to the running assembly generated by Run method.

Evidence Evidence Evidence Evidence

Provides evidence for the purpose of validating the current object's identity.

GenerateDebugInfo GenerateDebugInfo GenerateDebugInfo GenerateDebugInfo

Sets or gets a Boolean value that signifies whether the script engine produces debug information when the Compile method is called.

IsCompiled IsCompiled IsCompiled IsCompiled

Gets or sets a value that indicates whether the source is compiled.

IsDirty IsDirty IsDirty IsDirty

Gets or sets a value that indicates whether the current in-memory representation of the item differs from the persisted representation.

IsRunning IsRunning IsRunning IsRunning

Gets a Boolean value that reports whether the engine is currently in run mode.

Items Items Items Items

Gets the collection of IJSVsaItem objects, which represent all items added to the engine.

Language Language Language Language

Gets the name of the programming language supported by the engine.

LCID LCID LCID LCID

Gets or sets the geographical locale and language in which to report exception messages.

Name Name Name Name

Sets or gets the display name of the engine.

RootMoniker RootMoniker RootMoniker RootMoniker

Sets or gets a script engine's root moniker.

RootNamespace RootNamespace RootNamespace RootNamespace

Sets or gets the root namespace used by the engine.

Site Site Site Site

Sets or gets the host-implemented IJSVsaSite object that is used by the engine to communicate with the host.

Version Version Version Version

Gets the current version of the language compiler supported by the engine, in the form Major.Minor.Revision.Build.

Methods

Close() Close() Close() Close()

Closes the engine.

Compile() Compile() Compile() Compile()

Causes the engine to compile the existing source state.

DoClose() DoClose() DoClose() DoClose()

Closes the engine.

DoCompile() DoCompile() DoCompile() DoCompile()

Causes the script engine to compile the existing source state.

DoLoadSourceState(IJSVsaPersistSite) DoLoadSourceState(IJSVsaPersistSite) DoLoadSourceState(IJSVsaPersistSite) DoLoadSourceState(IJSVsaPersistSite)

Directs the engine to load source items.

DoSaveCompiledState(Byte[], Byte[]) DoSaveCompiledState(Byte[], Byte[]) DoSaveCompiledState(Byte[], Byte[]) DoSaveCompiledState(Byte[], Byte[])

Saves the compiled state of the script engine; optionally, it also saves debugging information.

DoSaveSourceState(IJSVsaPersistSite) DoSaveSourceState(IJSVsaPersistSite) DoSaveSourceState(IJSVsaPersistSite) DoSaveSourceState(IJSVsaPersistSite)

Directs the script engine to persist its source state to the specified object.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Error(JSVsaError) Error(JSVsaError) Error(JSVsaError) Error(JSVsaError)

Returns an error.

GetCustomOption(String) GetCustomOption(String) GetCustomOption(String) GetCustomOption(String)

Gets implementation-specific options for the engine.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetOption(String) GetOption(String) GetOption(String) GetOption(String)

Gets implementation-specific options for the engine.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
InitNew() InitNew() InitNew() InitNew()

Provides a notification that the initialization phase is complete.

IsValidIdentifier(String) IsValidIdentifier(String) IsValidIdentifier(String) IsValidIdentifier(String)

Checks whether the supplied identifier is valid for the engine.

IsValidNamespaceName(String) IsValidNamespaceName(String) IsValidNamespaceName(String) IsValidNamespaceName(String)

Checks whether the supplied namespace is valid for the engine.

LoadCompiledState() LoadCompiledState() LoadCompiledState() LoadCompiledState()

Loads the compiled state.

LoadSourceState(IJSVsaPersistSite) LoadSourceState(IJSVsaPersistSite) LoadSourceState(IJSVsaPersistSite) LoadSourceState(IJSVsaPersistSite)

Directs the engine to load source items from their point of persistence, as specified by the host-provided object.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Preconditions(BaseVsaEngine+Pre) Preconditions(BaseVsaEngine+Pre) Preconditions(BaseVsaEngine+Pre) Preconditions(BaseVsaEngine+Pre)

Sets the precondition flags.

Reset() Reset() Reset() Reset()

Removes the engine from the running state and disconnects automatically bound event handlers.

ResetCompiledState() ResetCompiledState() ResetCompiledState() ResetCompiledState()

Resets the compiled state.

RevokeCache() RevokeCache() RevokeCache() RevokeCache()

Invalidates the cached assembly for the engine, as specified by its root moniker.

Run() Run() Run() Run()

Initiates execution of compiled code in the engine and binds all event handlers

SaveCompiledState(Byte[], Byte[]) SaveCompiledState(Byte[], Byte[]) SaveCompiledState(Byte[], Byte[]) SaveCompiledState(Byte[], Byte[])

Saves the compiled state of the engine; optionally, it also saves debugging information.

SaveSourceState(IJSVsaPersistSite) SaveSourceState(IJSVsaPersistSite) SaveSourceState(IJSVsaPersistSite) SaveSourceState(IJSVsaPersistSite)

Directs the engine to persist its source state.

SetCustomOption(String, Object) SetCustomOption(String, Object) SetCustomOption(String, Object) SetCustomOption(String, Object)

Sets implementation-specific options for the engine.

SetOption(String, Object) SetOption(String, Object) SetOption(String, Object) SetOption(String, Object)

Sets implementation-specific options for the engine.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
ValidateRootMoniker(String) ValidateRootMoniker(String) ValidateRootMoniker(String) ValidateRootMoniker(String)

Validates the root moniker.

Applies to