public sealed class ExecutionEngineException : SystemException
Object
Exception
SystemException
ExecutionEngineException
mscorlib
BCL
Represents an internal error in the execution engine.
[Note: Execution engine errors are fatal errors that should never occur. Such errors occur mainly when the execution engine has been corrupted or data is missing.The system can throw this exception at any time. When possible, the system throws an exception that provides more information than the ExecutionEngineException exception.
For information on conditions under which the CLI throws ExecutionEngineException exceptions, see Partition II of the CLI Specification.
Applications should not throw ExecutionEngineException.
]
System Namespace
ExecutionEngineException Constructors
ExecutionEngineException() Constructor
ExecutionEngineException(System.String) Constructor
ExecutionEngineException(System.String, System.Exception) Constructor
public ExecutionEngineException();
Constructs and initializes a new instance of the ExecutionEngineException class.
This constructor initializes the System.ExecutionEngineException.Message property of the new instance to a system-supplied message that describes the error, such as "Internal error occurred." This message takes into account the current system culture.The System.ExecutionEngineException.InnerException property is initialized to
null
.
System.ExecutionEngineException Class, System Namespace
public ExecutionEngineException(string message);
Constructs and initializes a new instance of the ExecutionEngineException class.
- 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.
This constructor initializes the System.ExecutionEngineException.Message property of the new instance using message. If message isnull
, the System.ExecutionEngineException.Message property is initialized to the system-supplied message provided by the constructor that takes no arguments. The System.ExecutionEngineException.InnerException property is initialized tonull
.
System.ExecutionEngineException Class, System Namespace
public ExecutionEngineException(string message, Exception innerException);
Constructs and initializes a new instance of the ExecutionEngineException class.
- 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.
- innerException
- An instance of Exception that is the cause of the current exception. If innerException is non-null, then the current exception was raised in a catch block handling innerException .
This constructor initializes the System.ExecutionEngineException.Message property of the new instance using message, and the System.ExecutionEngineException.InnerException property using innerException. If message isnull
, the System.ExecutionEngineException.Message property is initialized to the system-supplied message provided by the constructor that takes no arguments.[Note: For information on inner exceptions, see System.Exception.InnerException .]
System.ExecutionEngineException Class, System Namespace