Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DispatcherSynchronizationContext Constructor (Dispatcher^, DispatcherPriority)

.NET Framework (current version)
 

Initializes a new instance of the DispatcherSynchronizationContext class by using the specified Dispatcher.

Namespace:   System.Windows.Threading
Assembly:  WindowsBase (in WindowsBase.dll)

public:
DispatcherSynchronizationContext(
	Dispatcher^ dispatcher,
	DispatcherPriority priority
)

Parameters

dispatcher
Type: System.Windows.Threading::Dispatcher^

The Dispatcher to associate this DispatcherSynchronizationContext with.

priority
Type: System.Windows.Threading::DispatcherPriority

The priority used to send and post callback methods.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft