ערוך

שתף באמצעות


BaseVsaEngine Class

Definition

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.

Defines the base script engine class.

public ref class BaseVsaEngine abstract : Microsoft::Vsa::IVsaEngine
public abstract class BaseVsaEngine : Microsoft.Vsa.IVsaEngine
[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.Vsa.IVsaEngine
type BaseVsaEngine = class
    interface IVsaEngine
[<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 IVsaEngine
Public MustInherit Class BaseVsaEngine
Implements IVsaEngine
Inheritance
BaseVsaEngine
Derived
Attributes
Implements

Fields

applicationPath

Specifies the application path.

assemblyVersion

Specifies the assembly version.

compiledRootNamespace

Specifies the compiled root namespace.

engineMoniker

Specifies the engine moniker.

engineName

Specifies the engine name.

engineSite

Specifies the engine site.

errorLocale

Specifies the error locale.

executionEvidence

Specifies the execution evidence.

failedCompilation

Indicates whether the compilation failed.

genDebugInfo

Indicates whether debug information is generated.

haveCompiledState

Indicates whether there is a compiled state.

isClosed

Indicates whether the engine is closed.

isDebugInfoSupported

Specifies whether debug information is supported.

isEngineCompiled

Indicates whether the engine is compiled.

isEngineDirty

Indicates whether the current in-memory representation of the item differs from the persisted representation.

isEngineInitialized

Indicates whether the engine is initialized.

isEngineRunning

Indicates whether the engine is running.

loadedAssembly

Specifies the loaded assembly.

nameTable

Specifies the name table.

rootNamespace

Gets or sets the root namespace.

scriptLanguage

Specifies the script language.

startupClass

Specifies the startup class.

startupInstance

Specifies the startup instance.

vsaItems

Specifies 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

Gets or sets the evidence for the purpose of validating the current object's identity.

GenerateDebugInfo

Gets or sets a value that indicates 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 value that indicates whether the engine is currently in run mode.

Items

Gets the collection of IVsaItems 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 the root moniker used by the engine.

RootNamespace

Gets or sets the root namespace used by the engine.

Site

Gets or sets the host-implemented IVsaSite 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 Major.Minor.Revision.Build.

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(IVsaPersistSite)

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(IVsaPersistSite)

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(VsaError)

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(IVsaPersistSite)

Directs the engine to load source items.

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(IVsaPersistSite)

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.

Applies to