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)
Summary: Constructs a DispatcherScheduler that schedules units of work on the given Dispatcher.
Parameters
| Name | Type | Description |
|---|---|---|
dispatcher | Dispatcher | [DispatcherScheduler](# to schedule work on. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | dispatcher is null. |
2. Overload¶
public DispatcherScheduler(Dispatcher dispatcher, DispatcherPriority priority)
Summary: Constructs a DispatcherScheduler that schedules units of work on the given Dispatcher at the given priority.
Parameters
| Name | Type | Description |
|---|---|---|
dispatcher | Dispatcher | [DispatcherScheduler](# to schedule work on. |
priority | DispatcherPriority | Priority at which units of work are scheduled. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | dispatcher is null. |