Sdílet prostřednictvím


XamlShutdownCompletedOnThreadEventArgs Class

Definition

public ref class XamlShutdownCompletedOnThreadEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class XamlShutdownCompletedOnThreadEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class XamlShutdownCompletedOnThreadEventArgs
Public NotInheritable Class XamlShutdownCompletedOnThreadEventArgs
Inheritance
Object Platform::Object IInspectable XamlShutdownCompletedOnThreadEventArgs
Attributes

Examples

This sample shows how to add a WASDK island with XAML content to a Win32 app (the Windows App SDK runtime must be installed for the app to run).

Simple Island App

Methods

GetDispatcherQueueDeferral()

Gets a Deferral object that lets you delay completion of the shutdown until your operations are complete.

Applies to

See also

  • <xref:Microsoft.UI.Xaml.Hosting.WindowsXamlManager.XamlShutdownCompletedOnThread%0a%0a%5bUsing+the+WinRT+XAML+hosting+API+in+a+C%2b%2b+desktop+(Win32)+app%5d(%2fwindows%2fapps%2fdesktop%2fmodernize%2fusing-the-xaml-hosting-api)>