SuspendingEventHandler Delegate
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.
Represents a method that handles the app suspension event.
public delegate void SuspendingEventHandler(Platform::Object ^ sender, ISuspendingEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1352417948, 30946, 18563, 171, 200, 137, 96, 220, 222, 27, 92)]
class SuspendingEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1352417948, 30946, 18563, 171, 200, 137, 96, 220, 222, 27, 92)]
public delegate void SuspendingEventHandler(object sender, ISuspendingEventArgs e);
var suspendingEventHandlerHandler = function(sender, e){
/* Your code */
}
Public Delegate Sub SuspendingEventHandler(sender As Object, e As ISuspendingEventArgs)
Parameters
- sender
-
Object
Platform::Object
IInspectable
The sender.
The event data.
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|