Class MissingParameterlessConstructorException
The exception that is thrown when trying to instantiate a model with no parameterless constructor.
Inheritance
System.Object
    System.Exception
    System.ApplicationException
    System.Reflection.TargetException
    MissingParameterlessConstructorException
  Implements
System.Runtime.Serialization.ISerializable
  Inherited Members
      System.Exception.GetBaseException()
    
    
      System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    
    
      System.Exception.GetType()
    
    
      System.Exception.ToString()
    
    
      System.Exception.Data
    
    
      System.Exception.HelpLink
    
    
      System.Exception.HResult
    
    
      System.Exception.InnerException
    
    
      System.Exception.Message
    
    
      System.Exception.Source
    
    
      System.Exception.StackTrace
    
    
      System.Exception.TargetSite
    
    
      System.Exception.SerializeObjectState
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: McMaster.Extensions.CommandLineUtils
Assembly: McMaster.Extensions.CommandLineUtils.dll
Syntax
public class MissingParameterlessConstructorException : TargetException, ISerializable
  Constructors
| Improve this Doc View SourceMissingParameterlessConstructorException(Type, Exception)
Initializes an instance of MissingParameterlessConstructorException.
Declaration
public MissingParameterlessConstructorException(Type type, Exception innerException)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Type | type | The type missing a parameterless constructor.  | 
      
| System.Exception | innerException | The original exception.  | 
      
Properties
| Improve this Doc View SourceType
Gets the type that caused the exception.
Declaration
public Type Type { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Type | 
Implements
      System.Runtime.Serialization.ISerializable