Name
TypeLoadException
Synopsis
This exception signals that a class (or its assembly) cannot be found or loaded by the .NET runtime.
public class TypeLoadException : SystemException { // Public Constructors public method TypeLoadException(); public method TypeLoadException(string message); public method TypeLoadException(string message, Exception inner); // Protected Constructors protected method TypeLoadException( System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context); // Public Instance Properties public override field string Message{get; } // overrides Exception public field string TypeName{get; } // Public Instance Methods public override method void GetObjectData( // overrides Exception System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context); }
Hierarchy
Object→Exception(System.Runtime.Serialization.ISerializable)→SystemException→TypeLoadException
Subclasses
DllNotFoundException
, EntryPointNotFoundException
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.