VsaEngine.CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace(Boolean, String[], RuntimeTypeHandle, String) 方法

定义

创建引擎,并返回具有调用类型句柄和根命名空间的全局范围。Creates the engine and returns the global scope with the calling type handle and root namespace.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 static Microsoft::JScript::GlobalScope ^ CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace(bool fast, cli::array <System::String ^> ^ assemblyNames, RuntimeTypeHandle callingTypeHandle, System::String ^ rootNamespace);
public static Microsoft.JScript.GlobalScope CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace (bool fast, string[] assemblyNames, RuntimeTypeHandle callingTypeHandle, string rootNamespace);
static member CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace : bool * string[] * RuntimeTypeHandle * string -> Microsoft.JScript.GlobalScope
Public Shared Function CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace (fast As Boolean, assemblyNames As String(), callingTypeHandle As RuntimeTypeHandle, rootNamespace As String) As GlobalScope

参数

fast
Boolean

如果为 true,则指示快速模式;否则为 falsetrue to indicate fast mode; otherwise, false.

assemblyNames
String[]

程序集名称的数组。An array of assembly names.

callingTypeHandle
RuntimeTypeHandle

调用类型句柄。The calling type handle.

rootNamespace
String

根命名空间。The root namespace.

返回

GlobalScope

全局范围。The global scope.

适用于