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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.