Skip to content

ScheduleJobRequest Properties

Represents a request to schedule a durable job.

DueTime

getinit
View source
public DateTimeOffset DueTime
Gets the date and time when the job should be executed.

JobName

getinit
View source
public string JobName
Gets the name of the job for identification purposes.

Metadata

getinit
View source
public IReadOnlyDictionary<string, string>? Metadata
Gets optional metadata associated with the job.

Target

getinit
View source
public GrainId Target
Gets the grain identifier of the target grain that will receive the durable job.

TraceParent

getinit
View source
public string? TraceParent
Gets the W3C traceparent value to associate with the scheduled job, used to continue the distributed trace when the job is later executed. If null, the value of System.Diagnostics.Activity.Current at the time ILocalDurableJobManager is invoked will be used.

TraceState

getinit
View source
public string? TraceState
Gets the W3C tracestate value to associate with the scheduled job, used to continue the distributed trace when the job is later executed. If null, the value of System.Diagnostics.Activity.Current at the time ILocalDurableJobManager is invoked will be used.