Documentation
Table of Contents

Class TargetResult

Namespace
IntentSharp.Targets
Assembly
IntentSharp.dll

What ExecuteAsync(TargetExecution, CancellationToken) returns: the records a read returned, or the count of what a write changed.

public sealed class TargetResult
Inheritance
object
TargetResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Constructors

TargetResult()

Creates a result with no records, nothing changed and Executed true.

Properties

Affected

How many records or items a write changed, as the technology reports it; 0 for a read.

Continuation

A token for the next page, for technologies that page their results; null when there is none.

Executed

True when the command ran (the default); false when the target decided not to run it without failing.

Properties

Other values the target reports about the execution, such as the technology's own request charge.

Records

The records a read returned, each a JSON object of field names and values; empty for a write.

Truncated

True when there were more records than MaxResults and only the first ones were kept. The runtime also sets it when it cuts a longer list to the limit.