Lenguaje

Window.Dispatcher Propiedad

Definición

[En desuso] Siempre devuelve null.

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

Valor de propiedad

Siempre null.

Atributos

Comentarios

Importante

Window.Dispatcher puede modificarse o no estar disponible en futuras versiones. Use Window.DispatcherQueue en su lugar.

Note

La clase Ventana XAML tiene varias propiedades que se llevaron desde el Windows de UWP. Interfaz de usuario. La clase Xaml.Window, pero no se admite en aplicaciones winUI. Estas propiedades siempre tienen un null valor y no se usan en aplicaciones winUI. Para obtener más información, consulta Migración de funcionalidades de ventanas.

Se aplica a

Consulte también