UserAuthenticationStatusChangingEventArgs.GetDeferral Method

Definition

Requests a delay before the user's authentication status changes.

public:
 virtual UserAuthenticationStatusChangeDeferral ^ GetDeferral() = GetDeferral;
UserAuthenticationStatusChangeDeferral GetDeferral();
public UserAuthenticationStatusChangeDeferral GetDeferral();
function getDeferral()
Public Function GetDeferral () As UserAuthenticationStatusChangeDeferral

Returns

The user authentication status change deferral.

Remarks

The change in user authentication status is delayed until the app calls the UserAuthenticationStatusChangeDeferral.Complete method or the deadline for the change has passed.

Use the deferral to complete asynchronous operations, such as saving data to a file, before the system changes the user’s authentication status.

Applies to