WinFormsReactiveUIBuilderExtensions.WinFormsMainThreadScheduler property¶
Defined in
Type: WinFormsReactiveUIBuilderExtensions
Namespace: ReactiveUI.Builder
Assembly: ReactiveUI.Winforms.dll
Applies to
net481
public static ISequencer WinFormsMainThreadScheduler { get; }
View source (opens in a new tab)
Summary: Gets the win forms main thread scheduler.
Returns: ISequencer
Value:
The shared Main sequencer for the Windows Forms UI thread.
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException (opens in a new tab) | The sequencer is not bound yet and the calling thread is not an STA thread. |