Window.DispatcherQueue Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the DispatcherQueue
object for the window.
public:
property DispatcherQueue ^ DispatcherQueue { DispatcherQueue ^ get(); };
DispatcherQueue DispatcherQueue();
public DispatcherQueue DispatcherQueue { get; }
var dispatcherQueue = window.dispatcherQueue;
Public ReadOnly Property DispatcherQueue As DispatcherQueue
Property Value
The DispatcherQueue
object for the window.
Remarks
The DispatcherQueue
represents a facility that can access the DependencyObject
on the UI thread even if the code is initiated by a non-UI thread.
Most members of the Window
class can only be accessed when running on the thread the object was created on. However, this property can be called from any thread.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for