Constructeur EventLoopScheduler (Func<ThreadStart, Thread>)
Crée un objet qui planifie des unités de travail sur un thread désigné.
Espace de noms :System.Reactive.Concurrency
Assemblée: System.Reactive (en System.Reactive.dll)
Syntaxe
'Declaration
Public Sub New ( _
threadFactory As Func(Of ThreadStart, Thread) _
)
'Usage
Dim threadFactory As Func(Of ThreadStart, Thread)
Dim instance As New EventLoopScheduler(threadFactory)
public EventLoopScheduler(
Func<ThreadStart, Thread> threadFactory
)
public:
EventLoopScheduler(
Func<ThreadStart^, Thread^>^ threadFactory
)
new :
threadFactory:Func<ThreadStart, Thread> -> EventLoopScheduler
public function EventLoopScheduler(
threadFactory : Func<ThreadStart, Thread>
)
Paramètres
- threadFactory
Type : System.Func<ThreadStart, Thread>
Fonction de fabrique pour la création de threads.