Skip to content

DispatcherQueueScheduler(DispatcherQueue) constructor

Defined in

Type: DispatcherQueueScheduler Namespace: System.Reactive.Concurrency Assembly: ReactiveUI.Maui.dll

Applies to

net10.0-windows10.0.19041, net10.0-windows10.0.19041, net9.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041

Overloads

  • 1. public DispatcherQueueScheduler(DispatcherQueue dispatcherQueue)
  • 2. public DispatcherQueueScheduler(DispatcherQueue dispatcherQueue, DispatcherQueuePriority priority)

1. Overload

public DispatcherQueueScheduler(DispatcherQueue dispatcherQueue)

View source

Summary: Constructs a DispatcherQueueScheduler that schedules units of work on the given DispatcherQueue.

Parameters

NameTypeDescription
dispatcherQueueDispatcherQueueDispatcherQueue to schedule work on.

Exceptions

TypeCondition
System.ArgumentNullExceptiondispatcherQueue is null.

2. Overload

public DispatcherQueueScheduler(DispatcherQueue dispatcherQueue, DispatcherQueuePriority priority)

View source

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

Parameters

NameTypeDescription
dispatcherQueueDispatcherQueueDispatcherQueue to schedule work on.
priorityDispatcherQueuePriorityPriority at which units of work are scheduled.

Exceptions

TypeCondition
System.ArgumentNullExceptiondispatcherQueue is null.