DataSourceProvider.Dispatcher 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定目前 Dispatcher 物件到 UI 執行緒以供使用。
protected:
property System::Windows::Threading::Dispatcher ^ Dispatcher { System::Windows::Threading::Dispatcher ^ get(); void set(System::Windows::Threading::Dispatcher ^ value); };
protected System.Windows.Threading.Dispatcher Dispatcher { get; set; }
member this.Dispatcher : System.Windows.Threading.Dispatcher with get, set
Protected Property Dispatcher As Dispatcher
屬性值
目前要用的物件就是 UI 執行緒的。Dispatcher 預設情況下,這是 Dispatcher 與該實例建立執行緒相關的物件。