Table of Contents

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
object
MissingParameterlessConstructorException
Implements
Inherited Members

Constructors

MissingParameterlessConstructorException(Type, Exception)

Initializes an instance of MissingParameterlessConstructorException.

public MissingParameterlessConstructorException(Type type, Exception innerException)

Parameters

type Type

The type missing a parameterless constructor.

innerException Exception

The original exception.

Properties

Type

Gets the type that caused the exception.

public Type Type { get; }

Property Value

Type