DispatcherObject.Dispatcher 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 Dispatcher this DispatcherObject is associated with.
public:
property System::Windows::Threading::Dispatcher ^ Dispatcher { System::Windows::Threading::Dispatcher ^ get(); };
public System.Windows.Threading.Dispatcher Dispatcher { get; }
member this.Dispatcher : System.Windows.Threading.Dispatcher
Public ReadOnly Property Dispatcher As Dispatcher
Property Value
The dispatcher.
Remarks
Only the thread that the Dispatcher was created on may access the DispatcherObject directly. To access a DispatcherObject from a thread other than the thread the DispatcherObject was created on, call Invoke and BeginInvoke on the Dispatcher the DispatcherObject is associated with.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.