DispatcherObject.Dispatcher Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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é.