Skip to main content

Class TaskResponse

The TaskResponse.

Assembly: Taskurai.dll​
Declaration
public class TaskResponse

Properties​

Id​

Task id.

Declaration
public string Id { get; }

Config​

Task configuration.

Declaration
public TaskConfig Config { get; }

Created​

Task created (utc).

Declaration
public DateTimeOffset? Created { get; }

CreatedBy​

Created by (user id).

Declaration
public string CreatedBy { get; }

Modified​

Task modified (utc).

Declaration
public DateTimeOffset? Modified { get; }

ModifiedBy​

Modified by (user id).

Declaration
public string ModifiedBy { get; }

StartAfter​

Start task after date time (utc).

Declaration
public DateTimeOffset? StartAfter { get; }

NotStartAfter​

Task expired after date time (utc).

Declaration
public DateTimeOffset? NotStartAfter { get; }

StopBefore​

Stop task before date time (utc).

Declaration
public DateTimeOffset? StopBefore { get; }

Started​

Task started (utc).

Declaration
public DateTimeOffset? Started { get; }

RunStarted​

Task run started (utc).

Declaration
public DateTimeOffset? RunStarted { get; }

RetryAfter​

Start task after date time (utc).

Declaration
public DateTimeOffset? RetryAfter { get; }

Stopped​

Task stopped (utc).

Declaration
public DateTimeOffset? Stopped { get; }

Status​

Update the status.

Declaration
public TaskStatusType? Status { get; }

StatusCode​

Task status code.

Declaration
public int? StatusCode { get; }

Progress​

Task progress.

Declaration
public Progress Progress { get; }

Result​

Task result.

Declaration
public ResultResponse Result { get; }

Error​

Task error.

Declaration
public Error Error { get; }

RetryStatus​

Task retry status.

Declaration
public RetryStatusType? RetryStatus { get; }

Archived​

Task archived.

Declaration
public bool? Archived { get; }

Postponed​

Task postponed.

Declaration
public bool? Postponed { get; }

Deleting​

Task scheduled for deletion.

Declaration
public bool? Deleting { get; }

RunCount​

Task run count.

Declaration
public long? RunCount { get; }

TimeoutCount​

Task timeout count.

Declaration
public long? TimeoutCount { get; }

IntermediateFailureCount​

Task intermediate failure count.

Declaration
public long? IntermediateFailureCount { get; }

FailureCount​

Task failure count.

Declaration
public long? FailureCount { get; }

CorrelationId​

Task correlation id.

Declaration
public Guid? CorrelationId { get; }

HubName​

Task hub name.

Declaration
public string HubName { get; }

WorkerName​

Task worker name.

Declaration
public string WorkerName { get; }

WorkerImage​

Task worker image.

Declaration
public string WorkerImage { get; }

TaskuraiSDKVersion​

Task Taskurai SDK version.

Declaration
public string TaskuraiSDKVersion { get; }

TaskuraiWorkerSDKVersion​

Task Taskurai Worker SDK version.

Declaration
public string TaskuraiWorkerSDKVersion { get; }

DefaultStateStore​

Default state store name.

Declaration
public string DefaultStateStore { get; }

CleanupStateAfterSeconds​

Cleanup state after seconds.

Declaration
public int? CleanupStateAfterSeconds { get; }

Arguments​

Accessor for task arguments.

Declaration
[JsonIgnore]
public TaskArgumentsAccessor Arguments { get; }

Outputs​

Accessor for task output results.

Declaration
[JsonIgnore]
public TaskResultOutputAccessor Outputs { get; }

Methods​

IsFinalState()​

Declaration
public bool IsFinalState()
Returns​

System.Boolean

IsRetryScheduled()​

Declaration
public bool IsRetryScheduled()
Returns​

System.Boolean

IsFailed()​

Declaration
public bool IsFailed()
Returns​

System.Boolean