# DurableJobRunResult Methods

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

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

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

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.DurableJobs/DurableJobRunResult.cs#L83-L84)

```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.

## PollAfter(TimeSpan) {#pollafter-system-timespan-12d83cf8}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.durablejobs.durablejobrunresult/methods/pollafter-system-timespan-12d83cf8/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.DurableJobs/DurableJobRunResult.cs#L69-L70)

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

Creates a result indicating the job should be polled again after the specified delay.

### Parameters

- `delay` (`TimeSpan`): The time to wait before checking the job status again.

### Returns

A poll-after job result.
