Class ModuleInitializeException
Exception thrown by IModuleInitializer implementations whenever a module fails to load.
Implements
Namespace: Sartorius.SAF.Presentation.Modularity
Assembly: Sartorius.SAF.Presentation.dll
Syntax
[Serializable]
public class ModuleInitializeException : ModularityException, ISerializable
  Constructors
View SourceModuleInitializeException()
Initializes a new instance.
Declaration
public ModuleInitializeException()
  ModuleInitializeException(SerializationInfo, StreamingContext)
Initializes a new instance with serialized data.
Declaration
[Obsolete]
protected ModuleInitializeException(SerializationInfo info, StreamingContext context)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.  | 
      
| System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.  | 
      
ModuleInitializeException(String)
Initializes a new instance of the ModuleInitializeException class.
Declaration
public ModuleInitializeException(string message)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | The exception message.  | 
      
ModuleInitializeException(String, Exception)
Initializes a new instance of the ModuleInitializeException class.
Declaration
public ModuleInitializeException(string message, Exception innerException)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | The exception message.  | 
      
| System.Exception | innerException | The inner exception.  | 
      
ModuleInitializeException(String, String, Exception)
Initializes the exception with a particular module, error message and inner exception that happened.
Declaration
public ModuleInitializeException(string moduleName, string message, Exception innerException)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | moduleName | The name of the module.  | 
      
| System.String | message | The error message that explains the reason for the exception.  | 
      
| System.Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified.  | 
      
ModuleInitializeException(String, String, String)
Initializes the exception with a particular module and error message.
Declaration
public ModuleInitializeException(string moduleName, string moduleAssembly, string message)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | moduleName | The name of the module.  | 
      
| System.String | moduleAssembly | The assembly where the module is located.  | 
      
| System.String | message | The error message that explains the reason for the exception.  | 
      
ModuleInitializeException(String, String, String, Exception)
Initializes the exception with a particular module, error message and inner exception that happened.
Declaration
public ModuleInitializeException(string moduleName, string moduleAssembly, string message, Exception innerException)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | moduleName | The name of the module.  | 
      
| System.String | moduleAssembly | The assembly where the module is located.  | 
      
| System.String | message | The error message that explains the reason for the exception.  | 
      
| System.Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified.  |