Share via


SuspendingEventHandler Delegate

Definition

The handler for the Application.Suspending event.

public delegate void SuspendingEventHandler(Platform::Object ^ sender, SuspendingEventArgs ^ e);
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(3837717625, 38397, 22593, 172, 235, 1, 168, 161, 251, 115, 208)]
public delegate void SuspendingEventHandler(object sender, SuspendingEventArgs e);
Public Delegate Sub SuspendingEventHandler(sender As Object, e As SuspendingEventArgs)

Parameters

sender
Object

Platform::Object

The object where the handler is attached.

e
SuspendingEventArgs

Event data.

Attributes

Remarks

This event is not invoked by desktop applications.

Applies to