Class TypeScannerReflectionException
Thrown by type scanner when reflecting a given assembly
Inheritance
Namespace: EPiServer.Framework.TypeScanner
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public class TypeScannerReflectionException : Exception
Constructors
TypeScannerReflectionException()
Initializes a new instance of the Type
Declaration
public TypeScannerReflectionException()
TypeScannerReflectionException(SerializationInfo, StreamingContext)
Initializes a new instance of the Type
Declaration
protected TypeScannerReflectionException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System. |
info | |
System. |
context |
TypeScannerReflectionException(String)
Initializes a new instance of the Type
Declaration
public TypeScannerReflectionException(string message)
Parameters
Type | Name | Description |
---|---|---|
System. |
message |
TypeScannerReflectionException(String, Exception)
Initializes a new instance of the Type
Declaration
public TypeScannerReflectionException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | |
System. |
innerException |
TypeScannerReflectionException(String, Exception, Assembly, IEnumerable<Exception>)
Initializes a new instance of the Type
Declaration
public TypeScannerReflectionException(string message, Exception innerException, Assembly assembly, IEnumerable<Exception> loaderExceptions)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | |
System. |
innerException | |
System. |
assembly | |
System. |
loaderExceptions |
Properties
Assembly
The assembly causing the problem
Declaration
public Assembly Assembly { get; }
Property Value
Type | Description |
---|---|
System. |
LoaderExceptions
Exceptions durings loading of typed from assembly
Declaration
public IEnumerable<Exception> LoaderExceptions { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
CreateAggregateMessage(IEnumerable<TypeScannerReflectionException>)
Creates a string from a list of exceptions
Declaration
public static string CreateAggregateMessage(IEnumerable<TypeScannerReflectionException> exceptions)
Parameters
Type | Name | Description |
---|---|---|
System. |
exceptions | The list of exceptions |
Returns
Type | Description |
---|---|
System. |
A generated string from the exceptions |
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System. |
info | |
System. |
context |