DurableJobRunResult
class
Namespace: Orleans.DurableJobs
Represents the result of a durable job execution.
[Orleans.GenerateSerializer]public sealed class DurableJobRunResultProperties
CompletedGets a result indicating the job completed successfully.ExceptionGets the exception associated with a failed job execution whenDurableJobRunResultisDurableJobRunStatus.IsFailedGets a value indicating whether the job execution failed.IsInProgressGets a value indicating whether the job execution remains in progress and should be polled after a delay.IsRescheduleRequestedGets a value indicating whether the successfully handled job requested durable rescheduling.PollAfterDelayGets the delay before the executor polls the ongoing run whenDurableJobRunResultisDurableJobRunStatus.RescheduleTimeGets the time at which the job should be durably rescheduled after the current execution completes successfully.StatusGets the status of the job execution.
Methods
Failed(Exception)Creates a result indicating the job failed.InProgress(TimeSpan)Creates a result indicating the job execution remains in progress and should be polled after the specified delay.RescheduleAt(DateTimeOffset)Creates a result indicating that the current execution completed successfully and requested durable rescheduling.
