Skip to content

DispatcherScheduler(Dispatcher) constructor

Defined in

Type: DispatcherScheduler Namespace: System.Reactive.Concurrency Assembly: ReactiveUI.Wpf.dll

Applies to

net462

Overloads

  • 1. public DispatcherScheduler(Dispatcher dispatcher)
  • 2. public DispatcherScheduler(Dispatcher dispatcher, DispatcherPriority priority)

1. Overload

public DispatcherScheduler(Dispatcher dispatcher)

View source

Summary: Constructs a DispatcherScheduler that schedules units of work on the given Dispatcher.

Parameters

NameTypeDescription
dispatcherDispatcher[DispatcherScheduler](# to schedule work on.

Exceptions

TypeCondition
System.ArgumentNullExceptiondispatcher is null.

2. Overload

public DispatcherScheduler(Dispatcher dispatcher, DispatcherPriority priority)

View source

Summary: Constructs a DispatcherScheduler that schedules units of work on the given Dispatcher at the given priority.

Parameters

NameTypeDescription
dispatcherDispatcher[DispatcherScheduler](# to schedule work on.
priorityDispatcherPriorityPriority at which units of work are scheduled.

Exceptions

TypeCondition
System.ArgumentNullExceptiondispatcher is null.