RuntimeHelpers.RunModuleConstructor(ModuleHandle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Ensures a specified module constructor method has run by the time this method returns.
public:
static void RunModuleConstructor(ModuleHandle module);
public static void RunModuleConstructor (ModuleHandle module);
static member RunModuleConstructor : ModuleHandle -> unit
Public Shared Sub RunModuleConstructor (module As ModuleHandle)
Parameters
- module
- ModuleHandle
A handle that specifies the module constructor method to run.
Exceptions
The module constructor throws an exception.
Remarks
This method is used by compilers.
The module constructor will not be run more than once, even if this method is called multiple times.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.