Skip to content

MauiWinUIScheduler(DispatcherQueue) constructor

Defined in

Type: MauiWinUIScheduler Namespace: System.Reactive.Concurrency Assembly: ReactiveMarbles.ViewModel.MAUI.dll

Applies to

net8.0-windows10.0.19041

Overloads

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

1. Overload

public MauiWinUIScheduler(DispatcherQueue dispatcherQueue)

View source

Summary: Initializes a new instance of the MauiWinUIScheduler class. Constructs a MauiWinUIScheduler 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 MauiWinUIScheduler(DispatcherQueue dispatcherQueue, DispatcherQueuePriority priority)

View source

Summary: Initializes a new instance of the MauiWinUIScheduler class. 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.