Documentation
Table of Contents

Class TargetOperationException

Namespace
IntentSharp.Targets
Assembly
IntentSharp.dll

A target operation failed. A target throws it to classify a rejection (Kind); the runtime throws it with Timeout when it cancels an execution at data.timeout.

public sealed class TargetOperationException : IntentSharpException, ISerializable
Inheritance
object
Exception
TargetOperationException
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

Remarks

The message of one thrown from InspectAsync(TargetCommand, TargetContext, CancellationToken) while the runtime checks a planned command is sent to the model, as a problem its next planning attempt must fix. Keep secrets and connection data out of every message.

Constructors

TargetOperationException(string)

Creates the exception with a message; set Kind and Target with an initializer.

TargetOperationException(string, Exception)

Creates the exception with a message and the exception that caused it.

Properties

Kind

Why the operation failed; Other unless set.

Target

The name of the target that failed; null when it is not known.