다음을 통해 공유


TypeLoadException 클래스

형식 로드 시 오류가 발생할 때 throw되는 예외입니다.

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

구문

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

설명

TypeLoadException은 공용 언어 런타임에서 어셈블리 또는 어셈블리 내의 형식을 찾을 수 없거나 형식을 로드할 수 없을 때 throw됩니다.

TypeLoadException은 0x80131522 값을 가지는 HRESULT COR_E_TYPELOAD를 사용합니다.

TypeLoadException 인스턴스의 초기 속성 값 목록에 대한 자세한 내용은 TypeLoadException 생성자를 참조하십시오.

상속 계층 구조

System.Object
   System.Exception
     System.SystemException
      System.TypeLoadException
         System.DllNotFoundException
         System.EntryPointNotFoundException

스레드로부터의 안전성

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

플랫폼

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, 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에서 지원

.NET Compact Framework

2.0, 1.0에서 지원

참고 항목

참조

TypeLoadException 멤버
System 네임스페이스
Exception 클래스

기타 리소스

예외 처리 및 Throw