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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.