RecurringTaskScheduler Constructor (Int32) |
Initializes a new instance to use a specified number of threads.
Namespace:
AGI.Foundation.Infrastructure.Threading
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic RecurringTaskScheduler(
int numberOfThreads
)
Public Sub New (
numberOfThreads As Integer
)
public:
RecurringTaskScheduler(
int numberOfThreads
)
new :
numberOfThreads : int -> RecurringTaskSchedulerParameters
- numberOfThreads
- Type: SystemInt32
The number of threads to use to run tasks.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException | Thrown if the value of numberOfThreads
is less than 1. |
See Also