DispatcherExitDeferral 類別

定義

代表您的應用程式可用來延遲 DispatcherQueue 結束的物件。

public ref class DispatcherExitDeferral sealed
/// [Windows.Foundation.Metadata.Activatable(65540, "Microsoft.Foundation.WindowsAppSDKContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DispatcherExitDeferral final
[Windows.Foundation.Metadata.Activatable(65540, "Microsoft.Foundation.WindowsAppSDKContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DispatcherExitDeferral
function DispatcherExitDeferral()
Public NotInheritable Class DispatcherExitDeferral
繼承
Object Platform::Object IInspectable DispatcherExitDeferral
屬性

建構函式

DispatcherExitDeferral()

建立 DispatcherExitDeferral的新實例。

方法

Complete()

由您的應用程式呼叫,通知它已完成處理通知,而且 DispatcherQueue 現在可以結束。

適用於