Edit

Share via


DeferredEventArgs.GetCurrentDeferralAndReset Method

Definition

Caution

This is an internal only method to be used by EventHandler extension classes, public callers should call GetDeferral() instead.

DO NOT USE - This is a support method used by EventHandlerExtensions. It is public only for additional usage within extensions for the UWP based TypedEventHandler extensions.

[System.ComponentModel.Browsable(false)]
[System.Obsolete("This is an internal only method to be used by EventHandler extension classes, public callers should call GetDeferral() instead.")]
public Microsoft.Toolkit.Deferred.EventDeferral? GetCurrentDeferralAndReset ();
[<System.ComponentModel.Browsable(false)>]
[<System.Obsolete("This is an internal only method to be used by EventHandler extension classes, public callers should call GetDeferral() instead.")>]
member this.GetCurrentDeferralAndReset : unit -> Microsoft.Toolkit.Deferred.EventDeferral
Public Function GetCurrentDeferralAndReset () As EventDeferral

Returns

Internal EventDeferral reference

Attributes

Applies to