共用方式為


DispatcherExtensions Class

Definition

Extension methods for the WPF Dispatcher for better interop with the JoinableTaskFactory.

public ref class DispatcherExtensions abstract sealed
public static class DispatcherExtensions
type DispatcherExtensions = class
Public Module DispatcherExtensions
Inheritance
DispatcherExtensions

Methods

WithPriority(JoinableTaskFactory, Dispatcher, DispatcherPriority)

Creates a JoinableTaskFactory that schedules work with the specified Dispatcher and DispatcherPriority.

Applies to