Skip to content

SchedulingOptions Properties

Options for configuring scheduler behavior.

ActivationSchedulingQuantum

getset
View source
public TimeSpan ActivationSchedulingQuantum
Gets or sets the soft time limit on the duration of activation macro-turn (a number of micro-turns). If an activation was running its micro-turns longer than this, we will give up the thread. If this is set to zero or a negative number, then the full work queue is drained (MaxWorkItemsPerTurn allowing).

DelayWarningThreshold

getset
View source
public TimeSpan DelayWarningThreshold
Gets or sets the work item queuing delay threshold, at which a warning log message is written. That is, if the delay between enqueuing the work item and executing the work item is greater than DelayWarningThreshold, a warning log is written.

TurnWarningLengthThreshold

getset
View source
public TimeSpan TurnWarningLengthThreshold
Gets or sets the soft time limit to generate trace warning when the micro-turn executes longer then this period in CPU.