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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.