Langue

DispatcherObject.Dispatcher Propriété

Définition

Obtient ce Dispatcher qui DispatcherObject est associé.

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

Valeur de propriété

Répartiteur.

Remarques

Seul le thread sur lequel l’objet Dispatcher a été créé peut accéder directement DispatcherObject . Pour accéder à un DispatcherObject thread autre que le thread sur lequel il DispatcherObject a été créé, appelez Invoke et BeginInvoke sur celui-ci DispatcherDispatcherObject est associé.

S’applique à