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

argumentName string

The name of the invalid argument.

argumentType Type

The declared type of the argument.

queryName FullyQualifiedQueryName

The query receiving the argument.

Properties

ValidationResult

Gets the ValidationResult describing why the command is invalid.

public ValidationResult ValidationResult { get; }

Property Value

ValidationResult