DependencyObject.Dispatcher Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Restituisce null sempre in un'app di SDK per app di Windows. Usare invece DispatcherQueue .
public:
property CoreDispatcher ^ Dispatcher { CoreDispatcher ^ get(); };
CoreDispatcher Dispatcher();
/// [get: Windows.Foundation.Metadata.Deprecated("The Dispatcher property is deprecated, Use DispatcherQueue and TryEnqueue for UI thread work. For more info, visit https://aka.ms/DispatcherQueue.Property", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")]
CoreDispatcher Dispatcher();
public CoreDispatcher Dispatcher { get; }
public CoreDispatcher Dispatcher { [Windows.Foundation.Metadata.Deprecated("The Dispatcher property is deprecated, Use DispatcherQueue and TryEnqueue for UI thread work. For more info, visit https://aka.ms/DispatcherQueue.Property", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")] get; }
var coreDispatcher = dependencyObject.dispatcher;
Public ReadOnly Property Dispatcher As CoreDispatcher
Valore della proprietà
Sempre null in un'app SDK per app di Windows. Usare invece DispatcherQueue .
- Attributi