# DurableJob Properties

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

## DueTime {#duetime-643c1111}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.durablejobs.durablejob/properties/duetime-643c1111/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.DurableJobs/DurableJob.cs)

```csharp
[Orleans.Id(2)]
public DateTimeOffset DueTime
```

Gets the time when this job is due to be executed.

## Id {#id-cacf7644}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.durablejobs.durablejob/properties/id-cacf7644/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.DurableJobs/DurableJob.cs)

```csharp
[Orleans.Id(0)]
public string Id
```

Gets the unique identifier for this durable job.

## Metadata {#metadata-a91030d1}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.durablejobs.durablejob/properties/metadata-a91030d1/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.DurableJobs/DurableJob.cs)

```csharp
[Orleans.Id(5)]
public IReadOnlyDictionary<string, string>? Metadata
```

Gets optional metadata associated with this durable job.

## Name {#name-696dd5aa}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.durablejobs.durablejob/properties/name-696dd5aa/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.DurableJobs/DurableJob.cs)

```csharp
[Orleans.Id(1)]
public string Name
```

Gets the name of the durable job.

## ShardId {#shardid-74524dca}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.durablejobs.durablejob/properties/shardid-74524dca/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.DurableJobs/DurableJob.cs)

```csharp
[Orleans.Id(4)]
public string ShardId
```

Gets the identifier of the shard that manages this durable job.

## TargetGrainId {#targetgrainid-59f06e3b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.durablejobs.durablejob/properties/targetgrainid-59f06e3b/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.DurableJobs/DurableJob.cs)

```csharp
[Orleans.Id(3)]
public GrainId TargetGrainId
```

Gets the identifier of the target grain that will handle this job.

## TraceParent {#traceparent-b4f8ba7f}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.durablejobs.durablejob/properties/traceparent-b4f8ba7f/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.DurableJobs/DurableJob.cs)

```csharp
[Orleans.Id(6)]
public string? TraceParent
```

Gets the W3C `traceparent` value captured when the job was scheduled. Used to continue the distributed trace when the job is later executed.

## TraceState {#tracestate-5d5a6400}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.durablejobs.durablejob/properties/tracestate-5d5a6400/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.DurableJobs/DurableJob.cs)

```csharp
[Orleans.Id(7)]
public string? TraceState
```

Gets the W3C `tracestate` value captured when the job was scheduled. Used to continue the distributed trace when the job is later executed.
