System.EntryPointNotFoundException Class

public class EntryPointNotFoundException : TypeLoadException

Base Types

Object
  Exception
    SystemException
      TypeLoadException
        EntryPointNotFoundException

Assembly

mscorlib

Library

RuntimeInfrastructure

Summary

Represents the error that occurs when an attempt to load a Assembly fails due to the absence of an entry point.

Description

[Note: In C#, an entry point is defined through the Main() method. For additional information about entry points, see Partition II of the CLI Specification.]

See Also

System Namespace

Members

EntryPointNotFoundException Constructors

EntryPointNotFoundException() Constructor
EntryPointNotFoundException(System.String) Constructor
EntryPointNotFoundException(System.String, System.Exception) Constructor


EntryPointNotFoundException() Constructor

public EntryPointNotFoundException();

Summary

Constructs and initializes a new instance of the EntryPointNotFoundException class.

Description

This constructor initializes the System.EntryPointNotFoundException.Message property of the new instance to a system-supplied message that describes the error, such as "Entry point was not found." This message takes into account the current system culture.

The System.EntryPointNotFoundException.InnerException property of the new instance is initialized to null .

See Also

System.EntryPointNotFoundException Class, System Namespace

EntryPointNotFoundException(System.String) Constructor

public EntryPointNotFoundException(string message);

Summary

Constructs and initializes a new instance of the EntryPointNotFoundException class with a specified error message.

Parameters

message
A String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

Description

This constructor initializes the System.EntryPointNotFoundException.Message property of the new instance using message. If message is null , the System.EntryPointNotFoundException.Message property is initialized to the system-supplied message provided by the constructor that takes no arguments.

The System.EntryPointNotFoundException.InnerException property of the new instance is initialized to null .

See Also

System.EntryPointNotFoundException Class, System Namespace

EntryPointNotFoundException(System.String, System.Exception) Constructor

public EntryPointNotFoundException(string message, Exception inner);

Summary

Constructs and initializes a new instance of the EntryPointNotFoundException class.

Parameters

message
A String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
inner
An instance of Exception that is the cause of the current exception. If inner is not a null reference, the current exception was raised in a catch block handling inner .

Description

This constructor initializes the System.EntryPointNotFoundException.Message property of the new instance using message and the System.EntryPointNotFoundException.InnerException property using inner. If message is null , the System.EntryPointNotFoundException.Message property is initialized to the system-supplied message provided by the constructor that takes no arguments.

[Note: For more information on inner exceptions, see System.Exception.InnerException.]

See Also

System.EntryPointNotFoundException Class, System Namespace