Construtor EventLoopScheduler (Func<ThreadStart, Thread>)
Cria um objeto que agenda unidades de trabalho em um thread designado.
Namespace:System.Reactive.Concurrency
Assembly: System.Reactive (em System.Reactive.dll)
Sintaxe
'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>
)
Parâmetros
- threadFactory
Tipo: System.Func<ThreadStart, Thread>
A função de fábrica para criação de thread.