# JobShard.PersistAddJobAsync(DurableJob, CancellationToken)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.durablejobs.jobshard/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.durablejobs.jobshard/methods/)

```csharp
protected abstract Task PersistAddJobAsync(DurableJob job, CancellationToken cancellationToken)
```

Persists the addition of a new job to the underlying storage.

### Parameters

- `job` (`DurableJob`): The job to persist.
- `cancellationToken` (`CancellationToken`): A token to cancel the operation.

### Returns

A task that represents the asynchronous operation.
