다음을 통해 공유


ReflectionTypeLoadException 클래스

모듈에 있는 클래스를 로드할 수 없는 경우 Module.GetTypes 메서드에서 throw된 예외입니다. 이 클래스는 상속될 수 없습니다.

네임스페이스: System.Reflection
어셈블리: mscorlib(mscorlib.dll)

구문

‘선언
<SerializableAttribute> _
<ComVisibleAttribute(True)> _
Public NotInheritable Class ReflectionTypeLoadException
    Inherits SystemException
    Implements ISerializable
‘사용 방법
Dim instance As ReflectionTypeLoadException
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public sealed class ReflectionTypeLoadException : SystemException, ISerializable
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public ref class ReflectionTypeLoadException sealed : public SystemException, ISerializable
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public final class ReflectionTypeLoadException extends SystemException implements ISerializable
SerializableAttribute 
ComVisibleAttribute(true) 
public final class ReflectionTypeLoadException extends SystemException implements ISerializable

설명

ReflectionTypeLoadException은 값이 0x80131602인 HRESULT COR_E_REFLECTIONTYPELOAD를 사용합니다.

인스턴스에는 모듈에서 정의되고 로드된 클래스(Types 속성)의 배열이 포함되어 있습니다. 이 배열은 null 값을 포함할 수 있습니다. 예외의 다른 배열(LoaderExceptions 속성)도 있습니다. 이 예외 배열은 클래스 로더에서 throw된 예외를 나타냅니다. 클래스 배열의 구멍은 예외와 함께 정렬됩니다.

이 예외는 클래스 배열과 TypeLoadExceptions 배열을 노출합니다.

상속 계층 구조

System.Object
   System.Exception
     System.SystemException
      System.Reflection.ReflectionTypeLoadException

스레드로부터의 안전성

이 형식의 모든 public static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

플랫폼

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

참고 항목

참조

ReflectionTypeLoadException 멤버
System.Reflection 네임스페이스