UserAuthenticationStatusChangingEventArgs.GetDeferral Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.