Partilhar via


LeavingBackgroundEventHandler Delegar

Definição

Representa um método que manipula o evento de saída em segundo plano.

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)

Parâmetros

sender
Object

Platform::Object

IInspectable

O objeto que disparou o evento.

e
ILeavingBackgroundEventArgs

Informações sobre o evento.

Atributos

Requisitos do Windows

Família de dispositivos
Windows 10 Anniversary Edition (introduzida na 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v3.0)

Aplica-se a