Name

EntryPointNotFoundException

Synopsis

This exception indicates that an entry point could not be found when .NET loaded an assembly flagged for execution; that is, an AppDomain was instructed to execute an assembly, but no method in that assembly was marked with the .entrypoint metadata flag.

public class EntryPointNotFoundException : TypeLoadException {
// Public Constructors
   public method EntryPointNotFoundException();  
   public method EntryPointNotFoundException(string message);  
   public method EntryPointNotFoundException(string message, 
        Exception inner);  
// Protected Constructors
   protected method EntryPointNotFoundException(
        System.Runtime.Serialization.SerializationInfo info, 
        System.Runtime.Serialization.StreamingContext context);  
}

Hierarchy

ObjectException(System.Runtime.Serialization.ISerializable)SystemExceptionTypeLoadExceptionEntryPointNotFoundException

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.