Share via


ContentDialogButtonClickDeferral Class

Definition

Represents a deferral that can be used by an app to respond asynchronously to a button click event.

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

Remarks

You can get an instance of this class by calling ContentDialogButtonClickEventArgs.GetDeferral.

Methods

Complete()

Notifies the system that the app has finished processing the button click event.

Applies to