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