Skip to content

WinFormsReactiveUIBuilderExtensions.WinFormsMainThreadScheduler property

Defined in

Type: WinFormsReactiveUIBuilderExtensions Namespace: ReactiveUI.Reactive.Builder Assembly: ReactiveUI.Winforms.Reactive.dll

Applies to

net11.0-windows7.0, net11.0-windows10.0.19041, net10.0-windows10.0.19041, net10.0-windows7.0, net47, net472, net471, net48, net481

public static IScheduler WinFormsMainThreadScheduler { get; }

View source

Summary: Gets the win forms main thread scheduler.

Returns: IScheduler

Value: The shared Main sequencer for the Windows Forms UI thread.

Exceptions

TypeCondition
System.InvalidOperationExceptionThe sequencer is not bound yet and the calling thread is not an STA thread.