Share via


LeavingBackgroundEventHandler Délégué

Définition

Représente une méthode qui gère l’événement d’arrière-plan sortant.

public delegate void LeavingBackgroundEventHandler(Platform::Object ^ sender, ILeavingBackgroundEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(11848921, 31388, 19307, 154, 196, 19, 71, 79, 38, 139, 196)]
class LeavingBackgroundEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(11848921, 31388, 19307, 154, 196, 19, 71, 79, 38, 139, 196)]
public delegate void LeavingBackgroundEventHandler(object sender, ILeavingBackgroundEventArgs e);
var leavingBackgroundEventHandlerHandler = function(sender, e){
/* Your code */
}
Public Delegate Sub LeavingBackgroundEventHandler(sender As Object, e As ILeavingBackgroundEventArgs)

Paramètres

sender
Object

Platform::Object

IInspectable

Objet qui a déclenché l’événement.

e
ILeavingBackgroundEventArgs

Informations relatives à l'événement.

Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 Anniversary Edition (introduit dans 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v3.0)

S’applique à