Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RuntimeHelpers::RunModuleConstructor Method (ModuleHandle)

 

Runs a specified module constructor method.

Namespace:   System.Runtime.CompilerServices
Assembly:  mscorlib (in mscorlib.dll)

public:
static void RunModuleConstructor(
	ModuleHandle module
)

Parameters

module
Type: System::ModuleHandle

A handle that specifies the module constructor method to run.

Exception Condition
TypeInitializationException

The module constructor throws an exception.

This method is used by compilers.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft