DispatcherObject.Dispatcher Свойство
Определение
Возвращает объект Dispatcher, с которым связан этот объект DispatcherObject.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
Значение свойства
Диспетчер.The dispatcher.
Комментарии
Только поток, на котором Dispatcher был создан объект, может напрямую обращаться к DispatcherObject .Only the thread that the Dispatcher was created on may access the DispatcherObject directly. Для доступа к DispatcherObject из потока, отличного от потока, который DispatcherObject был создан, вызовите метод Invoke и BeginInvoke в, Dispatcher DispatcherObject связанном с.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.