Window.Dispatcher Property

Definition

Always returns null in a Windows App SDK app.

Note

Window.Dispatcher may be altered or unavailable in future releases. Use Window.DispatcherQueue instead.

public:
 property CoreDispatcher ^ Dispatcher { CoreDispatcher ^ get(); };
CoreDispatcher Dispatcher();
/// [get: Windows.Foundation.Metadata.Deprecated("The Dispatcher property is deprecated and always returns null", 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 and always returns null", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")] get; }
var coreDispatcher = window.dispatcher;
Public ReadOnly Property Dispatcher As CoreDispatcher

Property Value

Always null in a Windows App SDK app.

Attributes

Applies to