Skip to content

ControlScheduler(Control) constructor

Defined in

Type: ControlScheduler Namespace: System.Reactive.Concurrency Assembly: ReactiveUI.Winforms.dll

Applies to

net462, net481

public ControlScheduler(Control control)

View source

Summary: Constructs a ControlScheduler that schedules units of work on the message loop associated with the specified Windows Forms control.

Parameters

NameTypeDescription
controlControlWindows Forms control to get the message loop from.

Remarks

This scheduler type is typically used indirectly through the ObserveOn and SubscribeOn method overloads that take a Windows Forms control.

Exceptions

TypeCondition
System.ArgumentNullExceptioncontrol is null.