DispatcherObject.Dispatcher DispatcherObject.Dispatcher DispatcherObject.Dispatcher DispatcherObject.Dispatcher Property

Definição

Obtém o Dispatcher ao qual este DispatcherObject está associado.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

Valor da propriedade

O dispatcher.The dispatcher.

Comentários

Somente o thread em que Dispatcher o foi criado pode acessar o DispatcherObject diretamente.Only the thread that the Dispatcher was created on may access the DispatcherObject directly. Para acessar um DispatcherObject de um thread que não seja o DispatcherObject thread em que foi criado Dispatcher , Invoke DispatcherObject chame BeginInvoke e no está associado a.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.

Aplica-se a