Show / Hide Table of Contents

Class ModuleInitializeException

Exception thrown by IModuleInitializer implementations whenever a module fails to load.

Inheritance
System.Object
System.Exception
ModularityException
ModuleInitializeException
Implements
System.Runtime.Serialization.ISerializable
ModularityException.ModuleName
ModularityException.GetObjectData(SerializationInfo, StreamingContext)
System.Exception.GetBaseException()
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Sartorius.SAF.Presentation.Modularity
Assembly: Sartorius.SAF.Presentation.dll
Syntax
[Serializable]
public class ModuleInitializeException : ModularityException, ISerializable

Constructors

View Source

ModuleInitializeException()

Initializes a new instance.

Declaration
public ModuleInitializeException()
View Source

ModuleInitializeException(SerializationInfo, StreamingContext)

Initializes a new instance with serialized data.

Declaration
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.

View Source

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.

View Source

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.

View Source

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.

View Source

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.

View Source

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.

Implements

System.Runtime.Serialization.ISerializable

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
ExceptionExtensions.GetRootException(Exception)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX