Class TaskResponse
The TaskResponse.
Assembly: Taskurai.dll
public class TaskResponse
Properties
Id
Task id.
public string Id { get; }
Config
Task configuration.
public TaskConfig Config { get; }
Created
Task created (utc).
public DateTimeOffset? Created { get; }
CreatedBy
Created by (user id).
public string CreatedBy { get; }
Modified
Task modified (utc).
public DateTimeOffset? Modified { get; }
ModifiedBy
Modified by (user id).
public string ModifiedBy { get; }
StartAfter
Start task after date time (utc).
public DateTimeOffset? StartAfter { get; }
NotStartAfter
Task expired after date time (utc).
public DateTimeOffset? NotStartAfter { get; }
StopBefore
Stop task before date time (utc).
public DateTimeOffset? StopBefore { get; }
Started
Task started (utc).
public DateTimeOffset? Started { get; }
RunStarted
Task run started (utc).
public DateTimeOffset? RunStarted { get; }
RetryAfter
Start task after date time (utc).
public DateTimeOffset? RetryAfter { get; }
Stopped
Task stopped (utc).
public DateTimeOffset? Stopped { get; }
Status
Update the status.
public TaskStatusType? Status { get; }
StatusCode
Task status code.
public int? StatusCode { get; }
Progress
Task progress.
public Progress Progress { get; }
Result
Task result.
public ResultResponse Result { get; }
Error
Task error.
public Error Error { get; }
RetryStatus
Task retry status.
public RetryStatusType? RetryStatus { get; }
Archived
Task archived.
public bool? Archived { get; }
Postponed
Task postponed.
public bool? Postponed { get; }
Deleting
Task scheduled for deletion.
public bool? Deleting { get; }
RunCount
Task run count.
public long? RunCount { get; }
TimeoutCount
Task timeout count.
public long? TimeoutCount { get; }
IntermediateFailureCount
Task intermediate failure count.
public long? IntermediateFailureCount { get; }
FailureCount
Task failure count.
public long? FailureCount { get; }
CorrelationId
Task correlation id.
public Guid? CorrelationId { get; }
HubName
Task hub name.
public string HubName { get; }
WorkerName
Task worker name.
public string WorkerName { get; }
WorkerImage
Task worker image.
public string WorkerImage { get; }
TaskuraiSDKVersion
Task Taskurai SDK version.
public string TaskuraiSDKVersion { get; }
TaskuraiWorkerSDKVersion
Task Taskurai Worker SDK version.
public string TaskuraiWorkerSDKVersion { get; }
DefaultStateStore
Default state store name.
public string DefaultStateStore { get; }
CleanupStateAfterSeconds
Cleanup state after seconds.
public int? CleanupStateAfterSeconds { get; }
Arguments
Accessor for task arguments.
[JsonIgnore]
public TaskArgumentsAccessor Arguments { get; }
Outputs
Accessor for task output results.
[JsonIgnore]
public TaskResultOutputAccessor Outputs { get; }
Methods
IsFinalState()
public bool IsFinalState()
Returns
System.Boolean
IsRetryScheduled()
public bool IsRetryScheduled()
Returns
System.Boolean
IsFailed()
public bool IsFailed()
Returns
System.Boolean