Class InitializationException
Thrown by the initialization engine and contains references to one or more initialization modules causing the exception
Inheritance
System.Object
System.Exception
InitializationException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: EPiServer.Framework.Initialization
Assembly: EPiServer.Framework.dll
Version: 11.20.7Syntax
public class InitializationException : Exception, ISerializable, _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 |
Overrides
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception