Class TypeScannerReflectionException
Thrown by type scanner when reflecting a given assembly
Inheritance
System.Object
    System.Exception
    TypeScannerReflectionException
  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.TypeScanner
Assembly: EPiServer.Framework.dll
Version: 10.10.4Syntax
public class TypeScannerReflectionException : Exception, ISerializable, _ExceptionConstructors
TypeScannerReflectionException()
Initializes a new instance of the TypeScannerReflectionException class.
Declaration
public TypeScannerReflectionException()TypeScannerReflectionException(SerializationInfo, StreamingContext)
Initializes a new instance of the TypeScannerReflectionException class.
Declaration
protected TypeScannerReflectionException(SerializationInfo info, StreamingContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | |
| System.Runtime.Serialization.StreamingContext | context | 
TypeScannerReflectionException(String)
Initializes a new instance of the TypeScannerReflectionException class.
Declaration
public TypeScannerReflectionException(string message)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | 
TypeScannerReflectionException(String, Exception)
Initializes a new instance of the TypeScannerReflectionException class.
Declaration
public TypeScannerReflectionException(string message, Exception innerException)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | |
| System.Exception | innerException | 
TypeScannerReflectionException(String, Exception, Assembly, IEnumerable<Exception>)
Initializes a new instance of the TypeScannerReflectionException class.
Declaration
public TypeScannerReflectionException(string message, Exception innerException, Assembly assembly, IEnumerable<Exception> loaderExceptions)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | |
| System.Exception | innerException | |
| System.Reflection.Assembly | assembly | |
| System.Collections.Generic.IEnumerable<System.Exception> | loaderExceptions | 
Properties
Assembly
The assembly causing the problem
Declaration
public Assembly Assembly { get; }Property Value
| Type | Description | 
|---|---|
| System.Reflection.Assembly | 
LoaderExceptions
Exceptions durings loading of typed from assembly
Declaration
public IEnumerable<Exception> LoaderExceptions { get; }Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerable<System.Exception> | 
Methods
CreateAggregateMessage(IEnumerable<TypeScannerReflectionException>)
Declaration
public static string CreateAggregateMessage(IEnumerable<TypeScannerReflectionException> exceptions)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Generic.IEnumerable<TypeScannerReflectionException> | exceptions | 
Returns
| Type | Description | 
|---|---|
| System.String | 
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
  
  