Click or drag to resize

DynamicModuleLoaderLoadModule Method

Loads the specified module.

Namespace:  MFiles.VAF
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public virtual IModule LoadModule(
	Type moduleType,
	Vault vault,
	bool initializeModule = true,
	bool disableInfoMessageLogging = true,
	bool throwExceptions = false
)

Parameters

moduleType
Type: SystemType
Type of the module to locate.
vault
Type: Vault
The vault object.
initializeModule (Optional)
Type: SystemBoolean
Specifies whether the loaded module should also load its configuration. Defaults to true.
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
Collection of loaded modules.

Implements

IModuleLoaderLoadModule(Type, Vault, Boolean, Boolean, Boolean)
See Also