# DurableJobRunResult Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.jobs.durablejobrunresult/)

## Failed(Exception) {#failed-system-exception-4ff18980}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.jobs.durablejobrunresult/methods/failed-system-exception-4ff18980/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/DurableJobs/DurableJobRunResult.cs#L116-L117)

```csharp
public static DurableJobRunResult Failed(Exception exception)
```

Creates a result indicating the job failed.

### Parameters

- `exception` (`Exception`): The exception that caused the failure. This will be passed to the retry policy.

### Returns

A failed job result.

## InProgress(TimeSpan) {#inprogress-system-timespan-a122592d}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.jobs.durablejobrunresult/methods/inprogress-system-timespan-a122592d/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/DurableJobs/DurableJobRunResult.cs#L86-L87)

```csharp
public static DurableJobRunResult InProgress(TimeSpan delay)
```

Creates a result indicating the job execution remains in progress and should be polled after the specified delay.

### Parameters

- `delay` (`TimeSpan`): The time to wait before polling the run again.

### Returns

An in-progress job result.

## RescheduleAt(DateTimeOffset) {#rescheduleat-system-datetimeoffset-e6e06339}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.jobs.durablejobrunresult/methods/rescheduleat-system-datetimeoffset-e6e06339/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/DurableJobs/DurableJobRunResult.cs#L103)

```csharp
public static DurableJobRunResult RescheduleAt(DateTimeOffset dueTime)
```

Creates a result indicating that the current execution completed successfully and requested durable rescheduling.

### Parameters

- `dueTime` (`DateTimeOffset`): The time at which the next execution should become due.

### Returns

A durable rescheduling result.
