WindowsXamlManager.Close Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Closes and asynchronously releases any resources used by this WindowsXamlManager.
public:
virtual void Close() = Close;
void Close();
// This member is not implemented in C#
function close()
' This member is not implemented in VB.NET
Implements
M:Windows.Foundation.IClosable.Close
M:System.IDisposable.Close
Remarks
Ensure that all asynchronous work has completed before exiting the thread on which the WindowsXamlManager was initialized. Some ways to do this include:
- Calling DispatcherQueueController.ShutdownQueueAsync and awaiting its completion.
- Running the top-level message pump until
PeekMessage
returnsFALSE
.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin