Represents a shard of durable jobs that manages a collection of jobs within a specific time range. A job shard is responsible for storing, retrieving, and managing the lifecycle of durable jobs that fall within its designated time window.
A task that represents the asynchronous operation. The task result contains true if the job was successfully removed, or false if the job was not found.
The request containing the job scheduling parameters.
cancellationTokenCancellationToken
A token to cancel the operation.
Returns
A task that represents the asynchronous operation. The task result contains the durable job if successful, or null if the job could not be scheduled (e.g., the shard was marked as complete).
Exceptions
System.ArgumentOutOfRangeException
Thrown when the due time is outside the shard's time range.