WinUIReactiveUIBuilderExtensions.WinUIMainThreadScheduler property¶
Defined in
Type: WinUIReactiveUIBuilderExtensions Namespace: ReactiveUI.Reactive.Builder Assembly: ReactiveUI.WinUI.Reactive.dll
Applies to
net11.0-windows10.0.19041, net10.0-windows10.0.19041
public static IScheduler WinUIMainThreadScheduler { get; }
View source (opens in a new tab)
Summary: Gets the win UI main thread scheduler.
Returns: IScheduler
Value: The shared Main sequencer for the WinUI UI thread.
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException (opens in a new tab) | The sequencer is not bound yet and the calling thread has no dispatcher queue. |