Click or drag to resize

IModuleLoaderLoadModule Method

Loads the module. Creates an instance of the module class that implements IModule.

Namespace:  MFiles.VAF.Module
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
IModule LoadModule(
	Type moduleType,
	Vault vault,
	bool initializeModule = true,
	bool disableInfoMessageLogging = true,
	bool throwExceptions = false


Type: SystemType
Type of the module to locate.
Type: Vault
The vault object.
initializeModule (Optional)
Type: SystemBoolean
True if the module should be also initialized.
disableInfoMessageLogging (Optional)
Type: SystemBoolean
True if the loader should not write informational messages to the event log.
throwExceptions (Optional)
Type: SystemBoolean
True if exceptions should be leaked through if retry-able errors are encountered in module initialization.

Return Value

Type: IModule
See Also