ControlScheduler(Control) constructor¶
Defined in
Type: ControlScheduler
Namespace: System.Reactive.Concurrency
Assembly: ReactiveUI.Winforms.dll
Applies to
net462, net481
public ControlScheduler(Control control)
Summary: Constructs a ControlScheduler that schedules units of work on the message loop associated with the specified Windows Forms control.
Parameters
| Name | Type | Description |
|---|---|---|
control | Control | Windows 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
| Type | Condition |
|---|---|
| System.ArgumentNullException | control is null. |