Table of Contents

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

parameter CodeParameter

Parameter to convert

targetType Type

Target 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

string

TargetType

Target type

public Type TargetType { get; }

Property Value

Type