Documentation
Table of Contents

Class IntentShapeMismatchException

Namespace
IntentSharp.Catalog
Assembly
IntentSharp.Catalog.dll

RunAsync<T> was called with a T the intent's shape cannot produce. The message names the shape and the requested type. No model is called.

public sealed class IntentShapeMismatchException : IntentSharpException, ISerializable
Inheritance
object
Exception
IntentShapeMismatchException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.ReferenceEquals(object, object)
Extension Methods

Constructors

IntentShapeMismatchException(string, string, Type)

Creates the exception. The message names the intent, its shape and the requested type, and says what to ask for instead.

Properties

IntentName

The intent that was run.

RequestedType

The type argument RunAsync<T> was called with.

ShapeDescription

The shape as text, for example int (primitive shape) or Invoice (clr shape).