LeavingBackgroundEventHandler Delegate

Definition

The handler for the Application.LeavingBackground event.

public delegate void LeavingBackgroundEventHandler(Platform::Object ^ sender, LeavingBackgroundEventArgs ^ e);
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(1030896532, 64463, 23565, 182, 239, 80, 98, 230, 139, 249, 248)]
public delegate void LeavingBackgroundEventHandler(object sender, LeavingBackgroundEventArgs e);
Public Delegate Sub LeavingBackgroundEventHandler(sender As Object, e As LeavingBackgroundEventArgs)

Parameters

sender
Object

Platform::Object

The object where the handler is attached.

e
LeavingBackgroundEventArgs

Event data for the event.

Attributes

Remarks

This event is not invoked by desktop applications.

Applies to