DynamicModuleLoaderLoadModule Method

Loads the specified module.

Definition

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

Parameters

moduleType  Type
Type of the module to locate.
vault  Vault
The vault object.
initializeModule  Boolean  (Optional)
Specifies whether the loaded module should also load its configuration. Defaults to true.
disableInfoMessageLogging  Boolean  (Optional)
True if the loader should not write informational messages to the event log.
throwExceptions  Boolean  (Optional)
True if exceptions should be leaked through if retry-able errors are encountered in module initialization.

Return Value

IModule
Collection of loaded modules.

Implements

IModuleLoaderLoadModule(Type, Vault, Boolean, Boolean, Boolean)

See Also