RuntimeHelpers.RunModuleConstructor(ModuleHandle) 方法

定义

运行指定的模块构造函数方法。Runs a specified module constructor method.

public:
 static void RunModuleConstructor(ModuleHandle module);
public static void RunModuleConstructor (ModuleHandle module);
static member RunModuleConstructor : ModuleHandle -> unit
Public Shared Sub RunModuleConstructor (module As ModuleHandle)

参数

module
ModuleHandle

一个用于指定要运行的模块构造函数方法的句柄。A handle that specifies the module constructor method to run.

例外

模块构造函数引发了一个异常。The module constructor throws an exception.

注解

此方法由编译器使用。This method is used by compilers.

适用于