Class InvalidArgumentTypeException
- Namespace
- LfrlAnvil.Reactive.Exceptions
- Assembly
- LfrlAnvil.Reactive.Core.dll
Represents an error that occurred due to an invalid argument type.
public class InvalidArgumentTypeException : ArgumentException, ISerializable
- Inheritance
-
InvalidArgumentTypeException
- Implements
- Inherited Members
Constructors
InvalidArgumentTypeException(object?, Type, string)
Creates a new InvalidArgumentTypeException instance.
public InvalidArgumentTypeException(object? argument, Type expectedType, string paramName)
Parameters
argument
objectInvalid argument.
expectedType
TypeExpected type.
paramName
stringException's parameter name.
Properties
Argument
Invalid argument.
public object? Argument { get; }
Property Value
ExpectedType
Expected type.
public Type ExpectedType { get; }