Show / Hide Table of Contents

Class TaskResult

Result of an executed task

Inheritance
object
TaskResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cognite.Extractor.Common
Assembly: Cognite.Common.dll
Syntax
public class TaskResult

Properties

| Edit this page View Source

CompletionTime

Time of completion. Null if the task has not completed.

Declaration
public DateTime? CompletionTime { get; }
Property Value
Type Description
DateTime?
| Edit this page View Source

Exception

Triggered exception. Null if the task completed successfully or if it is not complete.

Declaration
public Exception? Exception { get; set; }
Property Value
Type Description
Exception
| Edit this page View Source

Index

Index of the originally scheduled task.

Declaration
public int Index { get; }
Property Value
Type Description
int
| Edit this page View Source

IsCompleted

True if the task has completed.

Declaration
public bool IsCompleted { get; }
Property Value
Type Description
bool
| Edit this page View Source

StartTime

Time the task was scheduled.

Declaration
public DateTime StartTime { get; }
Property Value
Type Description
DateTime
| Edit this page View Source

Task

Executed task. Null if not completed.

Declaration
public Task? Task { get; }
Property Value
Type Description
Task

Extension Methods

DataModelUtils.GetOrCreateResourcesAsync<T, T2>(T2, IEnumerable<InstanceIdentifier>, Func<IEnumerable<InstanceIdentifier>, IEnumerable<SourcedNodeWrite<T>>>, Func<IEnumerable<SourcedNodeWrite<T>>, SanitationMode, (IEnumerable<SourcedNodeWrite<T>>, IEnumerable<CogniteError<SourcedNodeWrite<T>>>)>, int, int, RetryMode, SanitationMode, CancellationToken)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX