WinFormsReactiveUIBuilderExtensions.WinFormsMainThreadScheduler property¶
Defined in
Type: WinFormsReactiveUIBuilderExtensions
Namespace: ReactiveUI.Reactive.Builder
Assembly: ReactiveUI.Winforms.Reactive.dll
Applies to
net10.0-windows7.0, net10.0-windows10.0.19041, net9.0-windows7.0, net9.0-windows10.0.19041, net8.0-windows7.0, net8.0-windows10.0.19041, net462, net481
public static IScheduler WinFormsMainThreadScheduler { get; }
Summary: Gets the win forms main thread scheduler.
Returns: IScheduler
Value:
The shared Main sequencer for the Windows Forms UI thread.
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | The sequencer is not bound yet and the calling thread is not an STA thread. |