Class InvalidParameterTypeException
- Namespace
- DuetAPI
- Assembly
- DuetAPI.dll
Exception to be called when a parameter cannot be converted to the desired type
public class InvalidParameterTypeException : ArgumentException, ISerializable
- Inheritance
-
InvalidParameterTypeException
- Implements
- Inherited Members
Constructors
InvalidParameterTypeException(CodeParameter?, Type)
Exception to be called when a parameter cannot be converted to the desired type
public InvalidParameterTypeException(CodeParameter? parameter, Type targetType)
Parameters
parameterCodeParameterParameter to convert
targetTypeTypeTarget type
Properties
Letter
Letter that was not found
public char? Letter { get; }
Property Value
- char?
StringValue
Readable string value
public string? StringValue { get; }
Property Value
TargetType
Target type
public Type TargetType { get; }