LeavingBackgroundEventHandler Delegato

Definizione

Rappresenta un metodo che gestisce l'evento in background in uscita.

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)

Parametri

sender
Object

Platform::Object

IInspectable

Oggetto che ha generato l'evento.

e
ILeavingBackgroundEventArgs

Informazioni sull'evento.

Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 Anniversary Edition (è stato introdotto in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v3.0)

Si applica a