Skip to content

WpfReactiveUIBuilderExtensions.WpfMainThreadScheduler property

Defined in

Type: WpfReactiveUIBuilderExtensions Namespace: ReactiveUI.Reactive.Builder Assembly: ReactiveUI.Wpf.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 WpfMainThreadScheduler { get; }

View source

Summary: Gets the WPF main thread scheduler.

Returns: IScheduler

Value: The shared Main sequencer for the WPF UI thread.

Exceptions

TypeCondition
System.InvalidOperationExceptionNo application exists yet and the calling thread has no dispatcher.