Επεξεργασία

Κοινή χρήση μέσω


VsaEngine Interface

Definition

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

public interface class VsaEngine : Microsoft::Vsa::IVsaEngine
[System.Runtime.InteropServices.Guid("E0C0FFE1-7EEA-4EE2-B7E4-0080C7EB0B74")]
public interface VsaEngine : Microsoft.Vsa.IVsaEngine
[<System.Runtime.InteropServices.Guid("E0C0FFE1-7EEA-4EE2-B7E4-0080C7EB0B74")>]
type VsaEngine = interface
    interface IVsaEngine
Public Interface VsaEngine
Implements IVsaEngine
Derived
Attributes
Implements

Properties

Assembly

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

(Inherited from IVsaEngine)
Evidence

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

(Inherited from IVsaEngine)
GenerateDebugInfo

Gets or sets a Boolean value that signifies whether the script engine produces debug information when the Compile() method is called.

(Inherited from IVsaEngine)
IsCompiled

Gets a value that indicates whether the script engine is set to produce debug information when the Compile() method is called.

(Inherited from IVsaEngine)
IsDirty

Gets a value that indicates whether the script engine's source state has changed since the last save operation, or since the script engine was originally loaded.

(Inherited from IVsaEngine)
IsRunning

Gets a value that indicates whether the script engine is currently in run mode.

(Inherited from IVsaEngine)
Items

Gets the IVsaItems collection of IVsaItem objects, which represent all items added to the script engine using the CreateItem method, including code items, reference items, and global items.

(Inherited from IVsaEngine)
Language

Gets the non-localized name of the programming language supported by the script engine.

(Inherited from IVsaEngine)
LCID

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

(Inherited from IVsaEngine)
Name

Gets or sets the display name of the script engine that is used primarily for identifying individual script engines to users in a hosted environment.

(Inherited from IVsaEngine)
RootMoniker

Gets or sets a script engine's root moniker.

(Inherited from IVsaEngine)
RootNamespace

Gets or sets the root namespace used by the script engine.

(Inherited from IVsaEngine)
Site

Gets or sets the host-implemented IVsaSite object that is used by the script engine to communicate with the host.

(Inherited from IVsaEngine)
Version

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

(Inherited from IVsaEngine)

Methods

Close()

Closes the script engine and releases all resources. If the script engine is currently running, the Reset() method is called first.

(Inherited from IVsaEngine)
Compile()

Causes the script engine to compile the existing source state.

(Inherited from IVsaEngine)
GetOption(String)

Gets implementation-specific options for a script engine.

(Inherited from IVsaEngine)
InitNew()

Provides a notification that the initialization phase is complete and that the script engine is prepared for the addition of IVsaItem objects.

(Inherited from IVsaEngine)
IsValidIdentifier(String)

Checks whether the supplied identifier is valid for the script engine.

(Inherited from IVsaEngine)
LoadSourceState(IVsaPersistSite)

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

(Inherited from IVsaEngine)
Reset()

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

(Inherited from IVsaEngine)
RevokeCache()

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

(Inherited from IVsaEngine)
Run()

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

(Inherited from IVsaEngine)
SaveCompiledState(Byte[], Byte[])

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

(Inherited from IVsaEngine)
SaveSourceState(IVsaPersistSite)

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

(Inherited from IVsaEngine)
SetOption(String, Object)

Sets implementation-specific options for a script engine.

(Inherited from IVsaEngine)

Applies to