Class InvalidQueryArgument
- Namespace
- Cratis.Arc.Queries
- Assembly
- Cratis.Arc.Core.dll
The exception that is thrown when a supplied scalar query argument cannot be converted to its declared type.
public class InvalidQueryArgument : Exception, ISerializable, IValidationFailure
- Inheritance
-
InvalidQueryArgument
- Implements
- Inherited Members
- Extension Methods
Constructors
InvalidQueryArgument(string, Type, FullyQualifiedQueryName)
The exception that is thrown when a supplied scalar query argument cannot be converted to its declared type.
public InvalidQueryArgument(string argumentName, Type argumentType, FullyQualifiedQueryName queryName)
Parameters
argumentNamestringThe name of the invalid argument.
argumentTypeTypeThe declared type of the argument.
queryNameFullyQualifiedQueryNameThe query receiving the argument.
Properties
ValidationResult
Gets the ValidationResult describing why the command is invalid.
public ValidationResult ValidationResult { get; }