Class MissingParameterlessConstructorException
- Namespace
- McMaster.Extensions.CommandLineUtils
- Assembly
- McMaster.Extensions.CommandLineUtils.dll
The exception that is thrown when trying to instantiate a model with no parameterless constructor.
public class MissingParameterlessConstructorException : TargetException, ISerializable
- Inheritance
-
objectMissingParameterlessConstructorException
- Implements
- Inherited Members
Constructors
MissingParameterlessConstructorException(Type, Exception)
Initializes an instance of MissingParameterlessConstructorException.
public MissingParameterlessConstructorException(Type type, Exception innerException)
Parameters
typeTypeThe type missing a parameterless constructor.
innerExceptionExceptionThe original exception.
Properties
Type
Gets the type that caused the exception.
public Type Type { get; }