VsaEngine.CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace Metódus

Definíció

Létrehozza a motort, és visszaadja a globális hatókört a hívótípus-leíróval és a gyökérnévtérrel.

Ez az API a termékinfrastruktúrát támogatja, és közvetlenül a kódból nem használható.

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

Paraméterek

fast
Boolean

truegyors mód jelzése; egyéb esetben. false

assemblyNames
String[]

Szerelvénynevek tömbje.

callingTypeHandle
RuntimeTypeHandle

A hívótípus leírója.

rootNamespace
String

A gyökérnévtér.

Válaszok

A globális hatókör.

A következőre érvényes: