Class InvalidArgumentException
- Namespace
- WhalesSecret.TradeScriptLib.Exceptions
- Assembly
- WhalesSecret.TradeScriptLib.dll
Exception for cases when one or more arguments of a method are not valid in the context of the given method.
public class InvalidArgumentException : ScriptApiException, ISerializable
- Inheritance
-
InvalidArgumentException
- Implements
- Inherited Members
- Extension Methods
Constructors
- InvalidArgumentException()
Initializes a new instance of the InvalidArgumentException class.
- InvalidArgumentException(string)
Initializes a new instance of the InvalidArgumentException class with a specified error message.
- InvalidArgumentException(string, Exception?)
Initializes a new instance of the InvalidArgumentException class with a specified error message and and optionally a reference to the inner exception that is the cause of this exception.
- InvalidArgumentException(string, string?, Exception?)
Initializes a new instance of the InvalidArgumentException class with a specified error message and optionally a parameter name that caused this exception and optionally a reference to the inner exception that is the cause of this exception.
Properties
- ParameterName
Name of the invalid parameter that caused this exception, or
null
if not specified.