NewThreadScheduler-Konstruktor (Func<ThreadStart, Thread>)
Erstellt ein -Objekt, das jede Arbeitseinheit in einem separaten Thread plant.
Namespace:System.Reactive.Concurrency
Versammlung: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Public Sub New ( _
threadFactory As Func(Of ThreadStart, Thread) _
)
'Usage
Dim threadFactory As Func(Of ThreadStart, Thread)
Dim instance As New NewThreadScheduler(threadFactory)
public NewThreadScheduler(
Func<ThreadStart, Thread> threadFactory
)
public:
NewThreadScheduler(
Func<ThreadStart^, Thread^>^ threadFactory
)
new :
threadFactory:Func<ThreadStart, Thread> -> NewThreadScheduler
public function NewThreadScheduler(
threadFactory : Func<ThreadStart, Thread>
)
Parameter
- threadFactory
Typ: System.Func<ThreadStart, Thread>
Die Factoryfunktion für die Threaderstellung.