Window.Dispatcher 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
属性值
始终null
在Windows 应用 SDK应用中。
- 属性