Class InitializationException
Thrown by the initialization engine and contains references to one or more initialization modules causing the exception
Inheritance
System.Object
InitializationException
Namespace: EPiServer.Framework.Initialization
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public class InitializationException : Exception
Constructors
InitializationException()
Initializes a new instance of the InitializationException class.
Declaration
public InitializationException()
InitializationException(SerializationInfo, StreamingContext)
Initializes a new instance of the InitializationException class.
Declaration
protected InitializationException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
InitializationException(String)
Initializes a new instance of the InitializationException class.
Declaration
public InitializationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
InitializationException(String, Exception)
Initializes a new instance of the InitializationException class.
Declaration
public InitializationException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | innerException |
InitializationException(String, Exception, IEnumerable<Type>)
Initializes a new instance of the InitializationException class.
Declaration
public InitializationException(string message, Exception innerException, IEnumerable<Type> moduleTypes)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | innerException | |
System.Collections.Generic.IEnumerable<System.Type> | moduleTypes |
Properties
ModuleTypes
List of initialization modules
Declaration
public IEnumerable<Type> ModuleTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Type> |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |